Raw.MessageReactions

Raw.MessageReactions

Message reactions

messageReactions#4f2b9479 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> = MessageReactions;
export namespace Raw {
  export class MessageReactions {
    constructor(params: {
      min?: boolean;
      canSeeList?: boolean;
      reactionsAsTags?: boolean;
      results: Array<Raw.TypeReactionCount>;
      recentReactions?: Array<Raw.TypeMessagePeerReaction>;
    }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0x4f2b9479

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