channels.UpdatePaidMessagesPrice

class pyrogram.raw.functions.channels.UpdatePaidMessagesPrice

Enable or disable paid messages » in this supergroup or monoforum.

Details:
  • Layer: 222

  • ID: 4B12327B

Parameters:
  • channel (InputChannel) – Pass the supergroup ID for supergroups and the ID of the channel to modify the setting in the associated monoforum.

  • send_paid_messages_stars (int 64-bit) – Specifies the required amount of Telegram Stars users must pay to send messages to the supergroup or monoforum.

  • broadcast_messages_allowed (bool, optional) – Only usable for channels, enables or disables the associated monoforum aka direct messages.

Returns:

Updates