Class: TD::Types::LoginUrlInfo::RequestConfirmation

Inherits:
TD::Types::LoginUrlInfo show all
Defined in:
lib/tdlib/types/login_url_info/request_confirmation.rb

Overview

An authorization confirmation dialog needs to be shown to the user.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#bot_user_idInteger

User identifier of a bot linked with the website.

Returns:

  • (Integer)

    the current value of bot_user_id



9
10
11
# File 'lib/tdlib/types/login_url_info/request_confirmation.rb', line 9

def bot_user_id
  @bot_user_id
end

#domainString

A domain of the URL.

Returns:

  • (String)

    the current value of domain



9
10
11
# File 'lib/tdlib/types/login_url_info/request_confirmation.rb', line 9

def domain
  @domain
end

#request_write_accessBoolean

True, if the user needs to be requested to give the permission to the bot to send them messages.

Returns:

  • (Boolean)

    the current value of request_write_access



9
10
11
# File 'lib/tdlib/types/login_url_info/request_confirmation.rb', line 9

def request_write_access
  @request_write_access
end

#urlString

An HTTP URL to be opened.

Returns:

  • (String)

    the current value of url



9
10
11
# File 'lib/tdlib/types/login_url_info/request_confirmation.rb', line 9

def url
  @url
end