Layer 220
MessageReactions
Message reactions
constructor
messageReactions#a339f0b flags:# min:flags.0?true can_see_list:flags.2?true reactions_as_tags:flags.3?true results:Vector<ReactionCount> recent_reactions:flags.1?Vector<MessagePeerReaction> top_reactors:flags.4?Vector<MessageReactor> = MessageReactions;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Min | flags.0?true | Similar to min objects, used for message reaction constructors that are the same for all users so they don't have the reactions sent by the current user (you can use messages. get Messages Reactions to get the full reaction info). |
| CanSeeList | flags.2?true | Whether messages. get Message Reactions List can be used to see how each specific peer reacted to the message |
| ReactionsAsTags | flags.3?true | If set or if there are no reactions, all present and future reactions should be treated as message tags, see here for more info. |
| Results | Vector<ReactionCount> | Reactions |
| RecentReactions | Vector<MessagePeerReaction> | List of recent peers and their reactions |
| TopReactors | Vector<MessageReactor> | Paid Telegram Star reactions leaderboard for this message. |
Returns
MessageReactionsGogram Example
// Creating MessageReactions constructor obj := &tg.MessageReactions{ Results: []tg.ReactionCount{&tg.ReactionCount{}}, // Optional fields: // Min: true, // CanSeeList: true, // ReactionsAsTags: true, // RecentReactions: []tg.MessagePeerReaction{&tg.MessagePeerReaction{}}, // ... more optional fields }