Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get all reactions from Message #1349

Open
Elias177Dev opened this issue Apr 7, 2024 · 2 comments
Open

Get all reactions from Message #1349

Elias177Dev opened this issue Apr 7, 2024 · 2 comments

Comments

@Elias177Dev
Copy link

I want to build a giveaway function where the user should react to a message. Is it possible to read all reactions and the users? If yes, how

@rubenlagus
Copy link
Owner

You can consume the message_reaction updates from Update class and handle them: https://core.telegram.org/bots/api#update

@Elias177Dev
Copy link
Author

How i can do this with the Java API?

The bot must be an administrator in the chat and must explicitly specify "message_reaction" in the list of allowed_updates to receive these updates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants