messages.SetChatAvailableReactions#

class pyrogram.raw.functions.messages.SetChatAvailableReactions#

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

Details:
  • Layer: 187

  • ID: 864B2581

Parameters:
  • peer (InputPeer) – Group where to apply changes

  • available_reactions (ChatReactions) – Allowed reaction emojis

  • reactions_limit (int 32-bit, optional) – This flag may be used to impose a custom limit of unique reactions (i.e. a customizable version of appConfig.reactions_uniq_max); this field and the other info set by the method will then be available to users in channelFull and chatFull.

  • paid_enabled (bool, optional) – N/A

Returns:

Updates