Link Search Menu Expand Document

Constructor: messageReactions

Back to constructors index

Message reactions »

Attributes:

NameTypeRequiredDescription
minBoolOptionalSimilar 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_listBoolOptionalWhether messages.getMessageReactionsList can be used to see how each specific peer reacted to the message
reactions_as_tagsBoolOptional
resultsArray of ReactionCountYesReactions
recent_reactionsArray of MessagePeerReactionOptionalList of recent peers and their reactions
top_reactorsArray of MessageReactorOptional

Type: MessageReactions

Example:

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