class Tourmaline::ChatBoostSourcePremium

Overview

The boost was obtained by subscribing to Telegram Premium or by gifting a Telegram Premium subscription to another user.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(source : String, user : Tourmaline::User) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def source : String #

Source of the boost, always "premium"


[View source]
def source=(source : String) #

Source of the boost, always "premium"


[View source]
def user : Tourmaline::User #

User that boosted the chat


[View source]
def user=(user : Tourmaline::User) #

User that boosted the chat


[View source]