Tourmaline::DirectMessagePriceChanged
Inherits JSON::Serializable < Reference < Object
Describes a service message about a change in the price of direct messages sent to a channel chat.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
are_direct_messages_enabled=(are_direct_messages_enabled : Bool)
True, if direct messages are enabled for the channel chat; false otherwise
are_direct_messages_enabled?
True, if direct messages are enabled for the channel chat; false otherwise
direct_message_star_count
Optional. The new number of Telegram Stars that must be paid by users for each direct message sent to the channel. Does not apply to users who have been exempted by administrators. Defaults to 0.