Class: TD::Types::ConnectedWebsite
- Defined in:
- lib/tdlib/types/connected_website.rb
Overview
Contains information about one website the current user is logged in with Telegram.
Instance Attribute Summary collapse
-
#bot_user_id ⇒ Integer
User identifier of a bot linked with the website.
-
#browser ⇒ TD::Types::String
The version of a browser used to log in.
-
#domain_name ⇒ TD::Types::String
The domain name of the website.
-
#id ⇒ Integer
Website identifier.
-
#ip ⇒ TD::Types::String
IP address from which the user was logged in, in human-readable format.
-
#last_active_date ⇒ Integer
Point in time (Unix timestamp) when obtained authorization was last used.
-
#location ⇒ TD::Types::String
Human-readable description of a country and a region, from which the user was logged in, based on the IP address.
-
#log_in_date ⇒ Integer
Point in time (Unix timestamp) when the user was logged in.
-
#platform ⇒ TD::Types::String
Operating system the browser is running on.
Method Summary
Methods inherited from Base
Instance Attribute Details
#bot_user_id ⇒ Integer
User identifier of a bot linked with the website.
14 15 16 |
# File 'lib/tdlib/types/connected_website.rb', line 14 def bot_user_id @bot_user_id end |
#browser ⇒ TD::Types::String
The version of a browser used to log in.
14 15 16 |
# File 'lib/tdlib/types/connected_website.rb', line 14 def browser @browser end |
#domain_name ⇒ TD::Types::String
The domain name of the website.
14 15 16 |
# File 'lib/tdlib/types/connected_website.rb', line 14 def domain_name @domain_name end |
#id ⇒ Integer
Website identifier.
14 15 16 |
# File 'lib/tdlib/types/connected_website.rb', line 14 def id @id end |
#ip ⇒ TD::Types::String
IP address from which the user was logged in, in human-readable format.
14 15 16 |
# File 'lib/tdlib/types/connected_website.rb', line 14 def ip @ip end |
#last_active_date ⇒ Integer
Point in time (Unix timestamp) when obtained authorization was last used.
14 15 16 |
# File 'lib/tdlib/types/connected_website.rb', line 14 def last_active_date @last_active_date end |
#location ⇒ TD::Types::String
Human-readable description of a country and a region, from which the user was logged in, based on the IP address.
14 15 16 |
# File 'lib/tdlib/types/connected_website.rb', line 14 def location @location end |
#log_in_date ⇒ Integer
Point in time (Unix timestamp) when the user was logged in.
14 15 16 |
# File 'lib/tdlib/types/connected_website.rb', line 14 def log_in_date @log_in_date end |
#platform ⇒ TD::Types::String
Operating system the browser is running on.
14 15 16 |
# File 'lib/tdlib/types/connected_website.rb', line 14 def platform @platform end |