class
Hamilton::Types::ChatBoost
- Hamilton::Types::ChatBoost
- Reference
- Object
Overview
This object contains information about a chat boost.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/chat_boost.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#add_date : Int32
Point in time (Unix timestamp) when the chat was boosted.
-
#add_date=(add_date : Int32)
Point in time (Unix timestamp) when the chat was boosted.
-
#boost_id : String
Unique identifier of the boost.
-
#boost_id=(boost_id : String)
Unique identifier of the boost.
-
#expiration_date : Int32
Point in time (Unix timestamp) when the boost will automatically expire, unless the booster's Telegram Premium subscription is prolonged.
-
#expiration_date=(expiration_date : Int32)
Point in time (Unix timestamp) when the boost will automatically expire, unless the booster's Telegram Premium subscription is prolonged.
-
#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 : Hamilton::Types::ChatBoostSource
Source of the added boost.
-
#source=(source : Hamilton::Types::ChatBoostSource)
Source of the added boost.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
Point in time (Unix timestamp) when the boost will automatically expire, unless the booster's Telegram Premium subscription is prolonged.
Point in time (Unix timestamp) when the boost will automatically expire, unless the booster's Telegram Premium subscription is prolonged.