Class: TD::Types::MessageContent::PassportDataReceived

Inherits:
TD::Types::MessageContent show all
Defined in:
lib/tdlib/types/message_content/passport_data_received.rb

Overview

Telegram Passport data has been received; for bots only.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#credentialsTD::Types::EncryptedCredentials

Encrypted data credentials.

Returns:



6
7
8
# File 'lib/tdlib/types/message_content/passport_data_received.rb', line 6

def credentials
  @credentials
end

#elementsArray<TD::Types::EncryptedPassportElement>

List of received Telegram Passport elements.

Returns:



6
7
8
# File 'lib/tdlib/types/message_content/passport_data_received.rb', line 6

def elements
  @elements
end