class
Hamilton::Types::PassportData
- Hamilton::Types::PassportData
- Reference
- Object
Overview
Describes Telegram Passport data shared with the bot by the user.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/passport_data.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#credentials : Hamilton::Types::EncryptedCredentials
Encrypted credentials required to decrypt the data.
-
#credentials=(credentials : Hamilton::Types::EncryptedCredentials)
Encrypted credentials required to decrypt the data.
-
#data : Array(Hamilton::Types::EncryptedPassportElement)
Array with information about documents and other Telegram Passport elements that was shared with the bot.
-
#data=(data : Array(Hamilton::Types::EncryptedPassportElement))
Array with information about documents and other Telegram Passport elements that was shared with the bot.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
Encrypted credentials required to decrypt the data.
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.