Raw.MessageReactions
Message reactions
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;
export namespace Raw {
export class MessageReactions {
constructor(params: {
min?: boolean;
canSeeList?: boolean;
reactionsAsTags?: boolean;
results: Array<Raw.TypeReactionCount>;
recentReactions?: Array<Raw.TypeMessagePeerReaction>;
topReactors?: Array<Raw.TypeMessageReactor>;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 198
Constructor ID: 0xa339f0b
Property
min
: boolean or undefinedSimilar 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.getmessagesreactions to get the full reaction info).
canSeeList
: boolean or undefinedWhether messages.getmessagereactionslist can be used to see how each specific peer reacted to the message
reactionsAsTags
: boolean or undefinedIf set or if there are no reactions, all present and future reactions should be treated as message tags, see here for more info.
results
: Array of Raw.TypeReactionCountReactions
recentReactions
: Array of Raw.TypeMessagePeerReaction or undefinedList of recent peers and their reactions
topReactors
: Array of Raw.TypeMessageReactor or undefinedPaid telegram star reactions leaderboard for this message.