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(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
clone
Sourcecopy_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)
Sourcefile_date
file_id
file_size
file_unique_id