payments.ToggleChatStarGiftNotifications

class pyrogram.raw.functions.payments.ToggleChatStarGiftNotifications

Enables or disables the reception of notifications every time a gift ยป is received by the specified channel, can only be invoked by admins with post_messages admin rights.

Details:
  • Layer: 222

  • ID: 60EAEFA1

Parameters:
  • peer (InputPeer) โ€“ The channel for which to receive or not receive notifications.

  • enabled (bool, optional) โ€“ Whether to enable or disable reception of notifications in the form of messageActionStarGiftUnique and messageActionStarGift service messages from the channel.

Returns:

bool