class TelegramBot::Document

Defined in:

telegram_bot/types/document.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def file_id : String #

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

[View source]
def file_name : String | Nil #

[View source]
def file_name=(_file_name : String | Nil) #

[View source]
def file_size : Int32 | Nil #

[View source]
def file_size=(_file_size : Int32 | Nil) #

[View source]
def mime_type : String | Nil #

[View source]
def mime_type=(_mime_type : String | Nil) #

[View source]
def thumb : PhotoSize | Nil #

[View source]
def thumb=(_thumb : PhotoSize | Nil) #

[View source]
def to_json(json : JSON::Builder) #

[View source]