class Telegram::API::PassportData
- Telegram::API::PassportData
- Telegram::API::Type
- Reference
- Object
Overview
Contains information about Telegram Passport data shared with the bot by the user.
Defined in:
telegram/api/generated/types.crConstructors
-
.new(pull : JSON::PullParser)
Contains information about Telegram Passport data shared with the bot by the user.
- .new(credentials : EncryptedCredentials, data : Array(EncryptedPassportElement) = Array(EncryptedPassportElement).new)
Instance Method Summary
-
#credentials : EncryptedCredentials
Encrypted credentials required to decrypt the data
-
#credentials=(credentials : EncryptedCredentials)
Encrypted credentials required to decrypt the data
-
#data : Array(EncryptedPassportElement)
Array with information about documents and other Telegram Passport elements that was shared with the bot
-
#data=(data : Array(EncryptedPassportElement))
Array with information about documents and other Telegram Passport elements that was shared with the bot
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
Contains information about Telegram Passport data shared with the bot by the user.
Instance Method Detail
Encrypted credentials required to decrypt the 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