Sha256: 2e35b006699ff11336bcde3ae034dfee1bf370c4d20d1ef50f497f12d65028c7

Contents?: true

Size: 1.29 KB

Versions: 4

Compression:

Stored size: 1.29 KB

Contents

module TD::Types
  # Contains information about one website the current user is logged in with Telegram.
  #
  # @attr id [Integer] Website identifier.
  # @attr domain_name [String] The domain name of the website.
  # @attr bot_user_id [Integer] User identifier of a bot linked with the website.
  # @attr browser [String] The version of a browser used to log in.
  # @attr platform [String] Operating system the browser is running on.
  # @attr log_in_date [Integer] Point in time (Unix timestamp) when the user was logged in.
  # @attr last_active_date [Integer] Point in time (Unix timestamp) when obtained authorization was last used.
  # @attr ip [String] IP address from which the user was logged in, in human-readable format.
  # @attr location [String] Human-readable description of a country and a region, from which the user was logged in,
  #   based on the IP address.
  class ConnectedWebsite < Base
    attribute :id, TD::Types::Integer
    attribute :domain_name, TD::Types::String
    attribute :bot_user_id, TD::Types::Integer
    attribute :browser, TD::Types::String
    attribute :platform, TD::Types::String
    attribute :log_in_date, TD::Types::Integer
    attribute :last_active_date, TD::Types::Integer
    attribute :ip, TD::Types::String
    attribute :location, TD::Types::String
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/connected_website.rb
tdlib-ruby-2.2.0 lib/tdlib/types/connected_website.rb
tdlib-ruby-2.1.0 lib/tdlib/types/connected_website.rb
tdlib-ruby-2.0.0 lib/tdlib/types/connected_website.rb