class

Tourmaline::PassportElementErrorFile

Inherits JSON::Serializable / Reference / Object

Represents an issue with a document scan. The error is considered resolved when the file with the document scan changes.

Constructors

new(source : String, type : String, file_hash : String, message : String)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

file_hash

Base64-encoded file hash

Source
file_hash=(file_hash : String)

Base64-encoded file hash

Source
message

Error message

Source
message=(message : String)

Error message

Source
source

Error source, must be file

Source
source=(source : String)

Error source, must be file

Source
type

The section of the user's Telegram Passport which has the issue, one of "utility_bill", "bank_statement", "rental_agreement", "passport_registration", "temporary_registration"

Source
type=(type : String)

The section of the user's Telegram Passport which has the issue, one of "utility_bill", "bank_statement", "rental_agreement", "passport_registration", "temporary_registration"

Source