Layer 220
constructor
messagePeerReaction#8c79b63c flags:# big:flags.0?true unread:flags.1?true my:flags.2?true peer_id:Peer date:int reaction:Reaction = MessagePeerReaction;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
Big flags.0?true Whether the specified message reaction should elicit a bigger and longer reaction
Unread flags.1?true Whether the reaction wasn't yet marked as read by the current user
My flags.2?true Starting from layer 159, messages. send Reaction will send reactions from the peer (user or channel) specified using messages. save Default Send As. If set, this flag indicates that this reaction was sent by us, even if the peer doesn't point to the current account.
PeerId Peer Peer that reacted to the message
Date int When was this reaction added
Reaction Reaction Reaction emoji

Gogram Example

// Creating MessagePeerReaction constructor
obj := &tg.MessagePeerReaction{
    PeerId: &tg.Peer{},
    Date: 0,
    Reaction: &tg.Reaction{},

    // Optional fields:
    // Big: true,
    // Unread: true,
    // My: true,
}