class Telegram::API::PassportElementErrorTranslationFile
Overview
Represents an issue with one of the files that constitute the translation of a document. The error is considered resolved when the file changes.
Defined in:
telegram/api/generated/types.crConstructors
- .new(source : String, type : String, file_hash : String, message : String)
-
.new(pull : JSON::PullParser)
Represents an issue with one of the files that constitute the translation of a document.
Instance Method Summary
-
#file_hash : String
Base64-encoded file hash
-
#file_hash=(file_hash : String)
Base64-encoded file hash
-
#message : String
Error message
-
#message=(message : String)
Error message
-
#source : String
Error source, must be translation_file
-
#source=(source : String)
Error source, must be translation_file
-
#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 one of the files that constitute the translation of a document. The error is considered resolved when the file changes.
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"