channels.updatePaidMessagesPrice
Enable or disable paid messages » in this supergroup or monoforum.
Enable or disable [paid messages »](https://core.telegram.org/api/paid-messages.md) in this [supergroup](https://core.telegram.org/api/channel.md) or [monoforum](https://core.telegram.org/api/monoforum.md).
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
broadcast_messages_allowed | true | لأ | Only usable for channels, enables or disables the associated [monoforum aka direct messages](https://core.telegram.org/api/monoforum.md). |
channel | InputChannel | أيوه | Pass the supergroup ID for supergroups and the ID of the [channel](https://core.telegram.org/api/channel.md) to modify the setting in the associated monoforum. |
send_paid_messages_stars | long | أيوه | Specifies the required amount of [Telegram Stars](https://core.telegram.org/api/stars.md) users must pay to send messages to the supergroup or monoforum. |
الردود
Updates
MTProto RPC
- 400 · CHANNEL_INVALID — The provided channel is invalid.
- 400 · CHANNEL_MONOFORUM_UNSUPPORTED — [Monoforums](https://core.telegram.org/api/channel.md#monoforums) do not support this feature.
- 400 · CHAT_NOT_MODIFIED — No changes were made to chat information because the new information you passed is identical to the current information.
- 400 · STARS_AMOUNT_INVALID — The specified amount in stars is invalid.