MadelineProtoDocs/docs/API_docs/constructors/messageReactions.md
2024-05-01 14:53:46 +02:00

1.7 KiB

title description nav_exclude image
messageReactions Message reactions » true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageReactions

Back to constructors index

Message reactions »

Attributes:

Name Type Required Description
min 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 message
reactions_as_tags Bool Optional
results Array of ReactionCount Yes Reactions
recent_reactions Array of MessagePeerReaction Optional List of recent peers and their reactions

Type: MessageReactions

Example:

$messageReactions = ['_' => 'messageReactions', 'min' => Bool, 'can_see_list' => Bool, 'reactions_as_tags' => Bool, 'results' => [ReactionCount, ReactionCount], 'recent_reactions' => [MessagePeerReaction, MessagePeerReaction]];