class

Tourmaline::ChatBoostSourceGiftCode

Inherits JSON::Serializable < Reference < Object

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.

Constructors

new(source : String, user : Tourmaline::User)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

source

Source of the boost, always "gift_code"

Source
source=(source : String)

Source of the boost, always "gift_code"

Source
user

User for which the gift code was created

Source
user=(user : Tourmaline::User)

User for which the gift code was created

Source