class Telegram::API::PassportElementErrorReverseSide

Overview

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

Defined in:

telegram/api/generated/types.cr

Constructors

Instance Method Summary

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

def self.new(source : String, type : String, file_hash : String, message : String) #

[View source]
def self.new(pull : JSON::PullParser) #

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


[View source]

Instance Method Detail

def file_hash : String #

Base64-encoded hash of the file with the reverse side of the document


[View source]
def file_hash=(file_hash : String) #

Base64-encoded hash of the file with the reverse side of the document


[View source]
def message : String #

Error message


[View source]
def message=(message : String) #

Error message


[View source]
def source : String #

Error source, must be reverse_side


[View source]
def source=(source : String) #

Error source, must be reverse_side


[View source]
def type : String #

The section of the user's Telegram Passport which has the issue, one of "driver_license", "identity_card"


[View source]
def type=(type : String) #

The section of the user's Telegram Passport which has the issue, one of "driver_license", "identity_card"


[View source]