class
Hamilton::Types::DirectMessagePriceChanged
- Hamilton::Types::DirectMessagePriceChanged
- Reference
- Object
Overview
Describes a service message about a change in the price of direct messages sent to a channel chat.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/direct_message_price_changed.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#are_direct_messages_enabled : Bool
True, if direct messages are enabled for the channel chat; false otherwise
-
#are_direct_messages_enabled=(are_direct_messages_enabled : Bool)
True, if direct messages are enabled for the channel chat; false otherwise
-
#direct_message_star_count : Int32 | Nil
The new number of Telegram Stars that must be paid by users for each direct message sent to the channel.
-
#direct_message_star_count=(direct_message_star_count : Int32 | Nil)
The new number of Telegram Stars that must be paid by users for each direct message sent to the channel.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
True, if direct messages are enabled for the channel chat; false otherwise
True, if direct messages are enabled for the channel chat; false otherwise
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.
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.