Raw.MessageReactor

Raw.MessageReactor

Info about a user in the paid star reactions leaderboard for a message.

messageReactor#4ba3a95a flags:# top:flags.0?true my:flags.1?true anonymous:flags.2?true peer_id:flags.3?Peer count:int = MessageReactor;
export namespace Raw {
  export class MessageReactor {
    constructor(params: {
      top?: boolean;
      my?: boolean;
      anonymous?: boolean;
      peerId?: Raw.TypePeer;
      count: number;
    }) {}
  }
}
🚫

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

Layer: 198
Constructor ID: 0x4ba3a95a

Property

  • top : boolean or undefined

    If set, the reactor is one of the most active reactors; may be unset if the reactor is the current user.

  • my : boolean or undefined

    If set, this reactor is the current user.

  • anonymous : boolean or undefined

    If set, the reactor is anonymous.

  • peerId : Raw.TypePeer or undefined

    Identifier of the peer that reacted: may be unset for anonymous reactors different from the current user (i.e. if the current user sent an anonymous reaction anonymous will be set but this field will also be set).

  • count : number

    The number of sent telegram stars.