Sha256: 77803aacb04d595d43820712dffcf266ddf4683e022672f7ec9dc68c17f8c0d8

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

module TD::Types
  # Contains information about a Telegram Passport authorization form that was requested.
  #
  # @attr id [Integer] Unique identifier of the authorization form.
  # @attr required_elements [Array<TD::Types::PassportRequiredElement>] Information about the Telegram Passport
  #   elements that need to be provided to complete the form.
  # @attr elements [Array<TD::Types::PassportElement>] Already available Telegram Passport elements.
  # @attr errors [Array<TD::Types::PassportElementError>] Errors in the elements that are already available.
  # @attr privacy_policy_url [String, nil] URL for the privacy policy of the service; can be empty.
  class PassportAuthorizationForm < Base
    attribute :id, TD::Types::Integer
    attribute :required_elements, TD::Types::Array.of(TD::Types::PassportRequiredElement)
    attribute :elements, TD::Types::Array.of(TD::Types::PassportElement)
    attribute :errors, TD::Types::Array.of(TD::Types::PassportElementError)
    attribute :privacy_policy_url, TD::Types::String.optional.default(nil)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-ruby-2.0.0 lib/tdlib/types/passport_authorization_form.rb