MessagePeerReaction
- class pyrogram.raw.types.MessagePeerReaction
How a certain peer reacted to the message
Constructor of
MessagePeerReaction.- Details:
Layer:
223ID:
8C79B63C
- Parameters:
peer_id (
Peer) – Peer that reacted to the messagedate (
int32-bit) – When was this reaction addedreaction (
Reaction) – Reaction emojibig (
bool, optional) – Whether the specified message reaction » should elicit a bigger and longer reactionunread (
bool, optional) – Whether the reaction wasn’t yet marked as read by the current usermy (
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.
TL Schema
messagePeerReaction#8c79b63c
flags:#
big:flags.0?true
unread:flags.1?true
my:flags.2?true
peer_id:Peer
date:int
reaction:Reaction
= MessagePeerReaction
Parameter Tree
MessagePeerReaction
├── big →
true (optional)├── unread →
true (optional)├── my →
true (optional)├── peer_id →
Peer│ ├──
PeerUser│ │ └── user_id →
long│ ├──
PeerChat│ │ └── chat_id →
long│ └──
PeerChannel│ └── channel_id →
long├── date →
int└── reaction →
Reaction├──
ReactionEmpty├──
ReactionEmoji│ └── emoticon →
string│ └── document_id →
long└──
ReactionPaidExample
MessagePeerReaction(
peer_id=PeerUser(user_id=0),
date=0,
reaction=ReactionEmpty(),
)