class TelegramBot::PaidMediaPreview

Included Modules

Defined in:

telegram_bot/types/paid_media.cr

Constructors

Instance Method Summary

Instance methods inherited from class TelegramBot::PaidMedia

type : String type, type=(type : String) type=

Constructor methods inherited from class TelegramBot::PaidMedia

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

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

Instance Method Detail

def duration : Int32 | Nil #

def duration=(duration : Int32 | Nil) #

def height : Int32 | Nil #

def height=(height : Int32 | Nil) #

def type : String #

def type=(type : String) #

def width : Int32 | Nil #

def width=(width : Int32 | Nil) #