mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.7 KiB
1.7 KiB
title | description | nav_exclude | image |
---|---|---|---|
messageReactions | Message reactions » | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: messageReactions
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]];