class Telegram::API::PassportElementErrorTranslationFiles
Overview
Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation change.
Defined in:
telegram/api/generated/types.crConstructors
- .new(source : String, type : String, message : String, file_hashes : Array(String) = Array(String).new)
-
.new(pull : JSON::PullParser)
Represents an issue with the translated version of a document.
Instance Method Summary
-
#file_hashes : Array(String)
List of base64-encoded file hashes
-
#file_hashes=(file_hashes : Array(String))
List of base64-encoded file hashes
-
#message : String
Error message
-
#message=(message : String)
Error message
-
#source : String
Error source, must be translation_files
-
#source=(source : String)
Error source, must be translation_files
-
#type : String
Type of element of the user's Telegram Passport which has the issue, one of "passport", "driver_license", "identity_card", "internal_passport", "utility_bill", "bank_statement", "rental_agreement", "passport_registration", "temporary_registration"
-
#type=(type : String)
Type of element of the user's Telegram Passport which has the issue, one of "passport", "driver_license", "identity_card", "internal_passport", "utility_bill", "bank_statement", "rental_agreement", "passport_registration", "temporary_registration"
Instance methods inherited from class Telegram::API::Type
==(other)
==,
client
client
Constructor methods inherited from class Telegram::API::Type
new(pull : JSON::PullParser)
new
Constructor Detail
Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation change.
Instance Method Detail
Type of element of the user's Telegram Passport which has the issue, one of "passport", "driver_license", "identity_card", "internal_passport", "utility_bill", "bank_statement", "rental_agreement", "passport_registration", "temporary_registration"
Type of element of the user's Telegram Passport which has the issue, one of "passport", "driver_license", "identity_card", "internal_passport", "utility_bill", "bank_statement", "rental_agreement", "passport_registration", "temporary_registration"