class
Hamilton::Types::ChatBoostSourcePremium
- Hamilton::Types::ChatBoostSourcePremium
- Reference
- Object
Overview
The boost was obtained by subscribing to Telegram Premium or by gifting a Telegram Premium subscription to another user.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/chat_boost_source.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#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.
-
#source : String
Source of the boost, always “premium”.
-
#source=(source : String)
Source of the boost, always “premium”.
-
#user : Hamilton::Types::User
User that boosted the chat.
-
#user=(user : Hamilton::Types::User)
User that boosted the chat.