Link Search Menu Expand Document

Constructor: messageActionPaidMessagesPrice

Back to constructors index

The price of paid messages » in this chat was changed.

Attributes:

NameTypeRequiredDescription
broadcast_messages_allowedBoolOptionalCan only be set for channels, if set indicates that direct messages were enabled », otherwise indicates that direct messages were disabled; the price of paid messages is related to the price of direct messages (aka those sent to the associated monoforum).
starslongYesThe new price in Telegram Stars, can be 0 if messages are now free.

Type: MessageAction

Example:

$messageActionPaidMessagesPrice = ['_' => 'messageActionPaidMessagesPrice', 'broadcast_messages_allowed' => Bool, 'stars' => long];