Class: TD::Types::UserLink
- 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
-
#expires_in ⇒ Integer
Left time for which the link is valid, in seconds; 0 if the link is a public username link.
-
#url ⇒ TD::Types::String
The URL.
Method Summary
Methods inherited from Base
Instance Attribute Details
#expires_in ⇒ Integer
Left time for which the link is valid, in seconds; 0 if the link is a public username link.
7 8 9 |
# File 'lib/tdlib/types/user_link.rb', line 7 def expires_in @expires_in end |
#url ⇒ TD::Types::String
The URL.
7 8 9 |
# File 'lib/tdlib/types/user_link.rb', line 7 def url @url end |