This introduces support for handling new reactions that are set on messages.
Adds new filters:
Reaction.FromUserID(id int64) - Checks whether the reaction from specified user or not.
Reaction.FromAnonymousChatID(id int64) - Checks whether the reaction from specified anonymous channel\admin or not.
Reaction.FromChatID(id int64) - Checks if the reaction has been set in specified chat
Reaction.New(Old)ReactionIn(reaction string) - Checks if the newly set(removed) reaction contains emoji, which is provided as reaction argument.
Impact
Are your changes backwards compatible? Y
Have you included documentation, or updated existing documentation? Not required.
Do errors and log messages provide enough context? Not required.
Reaction.FromPeer(id int64) - Was renamed and merged from FromUserID and FromAnonymousChatID, checks if the specified peer(user or anonymous channel) sent this reaction update.
What
This introduces support for handling new reactions that are set on messages. Adds new filters:
Reaction.FromUserID(id int64)
- Checks whether the reaction from specified user or not.Reaction.FromAnonymousChatID(id int64)
- Checks whether the reaction from specified anonymous channel\admin or not.Reaction.FromChatID(id int64)
- Checks if the reaction has been set in specified chatReaction.New(Old)ReactionIn(reaction string)
- Checks if the newly set(removed) reaction contains emoji, which is provided asreaction
argument.Impact