Layer 220
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

MessageAction

Gogram Example

// Creating MessageActionPaidMessagesPrice constructor
obj := &tg.MessageActionPaidMessagesPrice{
    Stars: int64(0),

    // Optional fields:
    // BroadcastMessagesAllowed: true,
}