Link Search Menu Expand Document

Constructor: messagePeerReaction

Back to constructors index

How a certain peer reacted to the message

Attributes:

NameTypeRequiredDescription
bigBoolOptionalWhether the specified message reaction » should elicit a bigger and longer reaction
unreadBoolOptionalWhether the reaction wasn’t yet marked as read by the current user
myBoolOptionalStarting from layer 159, messages.sendReaction will send reactions from the peer (user or channel) specified using messages.saveDefaultSendAs.
If set, this flag indicates that this reaction was sent by us, even if the peer doesn’t point to the current account.
peer_idPeerYesPeer that reacted to the message
dateintYesWhen was this reaction added
reactionReactionOptionalReaction emoji

Type: MessagePeerReaction

Example:

$messagePeerReaction = ['_' => 'messagePeerReaction', 'big' => Bool, 'unread' => Bool, 'my' => Bool, 'peer_id' => Peer, 'date' => int, 'reaction' => Reaction];