Class: TD::Types::UserLink

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

Overview

Contains an HTTPS URL, which can be used to get information about a user.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#expires_inInteger

Left time for which the link is valid, in seconds; 0 if the link is a public username link.

Returns:

  • (Integer)

    the current value of expires_in



7
8
9
# File 'lib/tdlib/types/user_link.rb', line 7

def expires_in
  @expires_in
end

#urlTD::Types::String

The URL.

Returns:

  • (TD::Types::String)

    the current value of url



7
8
9
# File 'lib/tdlib/types/user_link.rb', line 7

def url
  @url
end