payments.ToggleChatStarGiftNotifications¶
- class pyrogram.raw.functions.payments.ToggleChatStarGiftNotifications[source]¶
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_messagesadmin rights.Usable by Users Bots- Details:
Layer:
229ID:
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