Raw.MessageReactions

Raw.MessageReactions

Message reactions

messageReactions#a339f0b flags:# min:flags.0?true can_see_list:flags.2?true reactions_as_tags:flags.3?true results:Vector<ReactionCount> recent_reactions:flags.1?Vector<MessagePeerReaction> top_reactors:flags.4?Vector<MessageReactor> = MessageReactions;
export namespace Raw {
  export class MessageReactions {
    constructor(params: {
      min?: boolean;
      canSeeList?: boolean;
      reactionsAsTags?: boolean;
      results: Array<Raw.TypeReactionCount>;
      recentReactions?: Array<Raw.TypeMessagePeerReaction>;
      topReactors?: Array<Raw.TypeMessageReactor>;
    }) {}
  }
}
🚫

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

Layer: 198
Constructor ID: 0xa339f0b

Property

  • min : boolean or undefined

    Similar to min objects, used for message reaction constructors that are the same for all users so they don’t have the reactions sent by the current user (you can use messages.getmessagesreactions to get the full reaction info).

  • canSeeList : boolean or undefined

    Whether messages.getmessagereactionslist can be used to see how each specific peer reacted to the message

  • reactionsAsTags : boolean or undefined

    If set or if there are no reactions, all present and future reactions should be treated as message tags, see here for more info.

  • results : Array of Raw.TypeReactionCount

    Reactions

  • recentReactions : Array of Raw.TypeMessagePeerReaction or undefined

    List of recent peers and their reactions

  • topReactors : Array of Raw.TypeMessageReactor or undefined

    Paid telegram star reactions leaderboard for this message.