class
Hamilton::Types::ChatBoostSourceGiftCode
- Hamilton::Types::ChatBoostSourceGiftCode
- Reference
- Object
Overview
The boost was obtained by the creation of Telegram Premium gift codes to boost a chat. Each such code boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription.
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 "gift_code".
-
#source=(source : String)
Source of the boost, always "gift_code".
-
#user : Hamilton::Types::User
User for which the gift code was created.
-
#user=(user : Hamilton::Types::User)
User for which the gift code was created.