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

1.6 KiB

title description nav_exclude image
messagePeerReaction How a certain peer reacted to the message true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messagePeerReaction

Back to constructors index

How a certain peer reacted to the message

Attributes:

Name Type Required Description
big Bool Optional Whether the specified message reaction » should elicit a bigger and longer reaction
unread Bool Optional Whether the reaction wasn't yet marked as read by the current user
my Bool Optional Starting 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_id Peer Yes Peer that reacted to the message
date int Yes When was this reaction added
reaction Reaction Optional Reaction emoji

Type: MessagePeerReaction

Example:

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