Layer 220
MessageActionPaidMessagesPrice
The price of paid messages in this chat was changed.
constructor
messageActionPaidMessagesPrice#84b88578 flags:# broadcast_messages_allowed:flags.0?true stars:long = MessageAction;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| BroadcastMessagesAllowed | flags.0?true | Can 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 ). |
| Stars | long | The new price in Telegram Stars, can be 0 if messages are now free. |
Returns
MessageActionGogram Example
// Creating MessageActionPaidMessagesPrice constructor obj := &tg.MessageActionPaidMessagesPrice{ Stars: int64(0), // Optional fields: // BroadcastMessagesAllowed: true, }