struct

Telegram::PassportFile

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: PassportFile This object represents a file uploaded to Telegram Passport. Currently all Telegram Passport files are in JPEG format when decrypted and don't exceed 10MB.

Constructors

new(file_id : String, file_unique_id : String, file_size : Int64, file_date : Int64)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(file_id _file_id = @file_id, file_unique_id _file_unique_id = @file_unique_id, file_size _file_size = @file_size, file_date _file_date = @file_date)
Source
file_date
file_id
file_size
file_unique_id