Raw.messages.SetChatAvailableReactions

Raw.messages.SetChatAvailableReactions

Change the set of message reactions that can be used in a certain group, supergroup or channel

messages.setChatAvailableReactions#5a150bd4 flags:# peer:InputPeer available_reactions:ChatReactions reactions_limit:flags.0?int = Updates;
export namespace Raw {
  export namespace messages {
    export class SetChatAvailableReactions {
      constructor(params: {
        peer: Raw.TypeInputPeer;
        availableReactions: Raw.TypeChatReactions;
        reactionsLimit?: number;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0x5a150bd4

Property

  • peer : Raw.TypeInputPeer

    Group where to apply changes

  • availableReactions : Raw.TypeChatReactions

    Allowed reaction emojis

  • reactionsLimit : number or undefined

    This flag may be used to impose a custom limit of unique reactions (i.e. a customizable version of appconfig.reactionsUniqMax); this field and the other info set by the method will then be available to users in channelfull and chatfull.

Results

Raw.TypeUpdates