Raw.MessagePeerReaction

Raw.MessagePeerReaction

How a certain peer reacted to the message

messagePeerReaction#8c79b63c flags:# big:flags.0?true unread:flags.1?true my:flags.2?true peer_id:Peer date:int reaction:Reaction = MessagePeerReaction;
export namespace Raw {
  export class MessagePeerReaction {
    constructor(params: {
      big?: boolean;
      unread?: boolean;
      my?: boolean;
      peerId: Raw.TypePeer;
      date: number;
      reaction: Raw.TypeReaction;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x8c79b63c

Property

  • big : boolean or undefined

    Whether the specified message reaction should elicit a bigger and longer reaction

  • unread : boolean or undefined

    Whether the reaction wasn’t yet marked as read by the current user

  • my : boolean or undefined

    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.

  • peerId : Raw.TypePeer

    Peer that reacted to the message

  • date : number

    When was this reaction added

  • reaction : Raw.TypeReaction

    Reaction emoji