Class: TD::Types::PassportAuthorizationForm

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/passport_authorization_form.rb

Overview

Contains information about a Telegram Passport authorization form that was requested.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#idInteger

Unique identifier of the authorization form.

Returns:

  • (Integer)

    the current value of id



8
9
10
# File 'lib/tdlib/types/passport_authorization_form.rb', line 8

def id
  @id
end

#privacy_policy_urlTD::Types::String?

URL for the privacy policy of the service; may be empty.

Returns:

  • (TD::Types::String, nil)

    the current value of privacy_policy_url



8
9
10
# File 'lib/tdlib/types/passport_authorization_form.rb', line 8

def privacy_policy_url
  @privacy_policy_url
end

#required_elementsArray<TD::Types::PassportRequiredElement>

Information about the Telegram Passport elements that must be provided to complete the form.

Returns:



8
9
10
# File 'lib/tdlib/types/passport_authorization_form.rb', line 8

def required_elements
  @required_elements
end