struct

Telegram::PassportData

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: PassportData Describes Telegram Passport data shared with the bot by the user.

Constructors

new(data : Array(EncryptedPassportElement), credentials : EncryptedCredentials)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(data _data = @data, credentials _credentials = @credentials)
Source
credentials
data