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:
214
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