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.
Enables or disables the reception of notifications every time a [gift »](https://core.telegram.org/api/gifts.md) is received by the specified channel, can only be invoked by admins with `post_messages` [admin rights](https://core.telegram.org/constructor/chatAdminRights.md).
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
enabled | true | いいえ | Whether to enable or disable reception of notifications in the form of [messageActionStarGiftUnique](https://core.telegram.org/constructor/messageActionStarGiftUnique.md) and [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift.md) service messages from the channel. |
peer | InputPeer | はい | The channel for which to receive or not receive notifications. |
レスポンス
Bool
MTProto RPC
- 400 · PEER_ID_INVALID — The provided peer id is invalid.