MessageReactions
- class pyrogram.raw.types.MessageReactions
Message reactions »
Constructor of
MessageReactions.- Details:
Layer:
223ID:
A339F0B
- Parameters:
results (List of
ReactionCount) – Reactionsmin (
bool, optional) – 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.getMessagesReactions to get the full reaction info).can_see_list (
bool, optional) – Whether messages.getMessageReactionsList can be used to see how each specific peer reacted to the messagereactions_as_tags (
bool, optional) – If set or if there are no reactions, all present and future reactions should be treated as message tags, see here » for more info.recent_reactions (List of
MessagePeerReaction, optional) – List of recent peers and their reactionstop_reactors (List of
MessageReactor, optional) – Paid Telegram Star reactions leaderboard » for this message.
TL Schema
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
Parameter Tree
true (optional)true (optional)true (optional)Vector < ReactionCount >ReactionCountint (optional)ReactionReactionEmptyReactionEmojistringReactionCustomEmojilongReactionPaidintVector < MessagePeerReaction > (optional)MessagePeerReactiontrue (optional)true (optional)true (optional)PeerPeerUserlongPeerChatlongPeerChannellongintReactionReactionEmptyReactionEmojistringReactionCustomEmojilongReactionPaidVector < MessageReactor > (optional)MessageReactortrue (optional)true (optional)true (optional)Peer (optional)PeerUserlongPeerChatlongPeerChannellongintExample
MessageReactions(
results=[
ReactionCount(
reaction=ReactionEmpty(),
count=0
)
],
)