class

Tourmaline::ChatBoost

Inherits JSON::Serializable < Reference < Object

This object contains information about a chat boost.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

add_date

Point in time (Unix timestamp) when the chat was boosted

Source
add_date=(add_date : Time)

Point in time (Unix timestamp) when the chat was boosted

Source
boost_id

Unique identifier of the boost

Source
boost_id=(boost_id : String)

Unique identifier of the boost

Source
expiration_date

Point in time (Unix timestamp) when the boost will automatically expire, unless the booster's Telegram Premium subscription is prolonged

Source
expiration_date=(expiration_date : Time)

Point in time (Unix timestamp) when the boost will automatically expire, unless the booster's Telegram Premium subscription is prolonged

Source
source

Source of the added boost

Source
source=(source : Tourmaline::ChatBoostSource)

Source of the added boost

Source