Raw.messages.SetChatAvailableReactions
Change the set of message reactions that can be used in a certain group, supergroup or channel
messages.setChatAvailableReactions#864b2581 flags:# peer:InputPeer available_reactions:ChatReactions reactions_limit:flags.0?int paid_enabled:flags.1?Bool = Updates;
export namespace Raw {
export namespace messages {
export class SetChatAvailableReactions {
constructor(params: {
peer: Raw.TypeInputPeer;
availableReactions: Raw.TypeChatReactions;
reactionsLimit?: number;
paidEnabled?: boolean;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 198
Constructor ID: 0x864b2581
Property
peer
: Raw.TypeInputPeerGroup where to apply changes
availableReactions
: Raw.TypeChatReactionsAllowed reaction emojis
reactionsLimit
: number or undefinedThis 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. if this flag is not set, the previously configured reactionsLimit will not be altered.
paidEnabled
: boolean or undefinedIf this flag is set and a bool is passed, the method will enable or disable paid message reactions. if this flag is not set, the previously stored setting will not be changed.