Tourmaline::PassportData
Inherits JSON::Serializable / Reference / Object
Describes Telegram Passport data shared with the bot by the user.
Constructors
new(pull : JSON::PullParser)
Sourcenew(credentials : Tourmaline::EncryptedCredentials, data : Array(Tourmaline::EncryptedPassportElement) = [] of Tourmaline::EncryptedPassportElement)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
credentials=(credentials : Tourmaline::EncryptedCredentials)
Encrypted credentials required to decrypt the data
data
Array with information about documents and other Telegram Passport elements that was shared with the bot
Array with information about documents and other Telegram Passport elements that was shared with the bot