class Telegram::API::PassportElementErrorSelfie
- Telegram::API::PassportElementErrorSelfie
- Telegram::API::Type
- Reference
- Object
Overview
Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie 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 the selfie with a document.
Instance Method Summary
-
#file_hash : String
Base64-encoded hash of the file with the selfie
-
#file_hash=(file_hash : String)
Base64-encoded hash of the file with the selfie
-
#message : String
Error message
-
#message=(message : String)
Error message
-
#source : String
Error source, must be selfie
-
#source=(source : String)
Error source, must be selfie
-
#type : String
The section of the user's Telegram Passport which has the issue, one of "passport", "driver_license", "identity_card", "internal_passport"
-
#type=(type : String)
The section of the user's Telegram Passport which has the issue, one of "passport", "driver_license", "identity_card", "internal_passport"
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 selfie with a document. The error is considered resolved when the file with the selfie changes.
Instance Method Detail
The section of the user's Telegram Passport which has the issue, one of "passport", "driver_license", "identity_card", "internal_passport"
The section of the user's Telegram Passport which has the issue, one of "passport", "driver_license", "identity_card", "internal_passport"