Class: TD::Types::InternalLinkType::UserToken

Inherits:
TD::Types::InternalLinkType show all
Defined in:
lib/tdlib/types/internal_link_type/user_token.rb

Overview

The link is a link to a user by a temporary token. Call searchUserByToken with the given token to process the link. If the user is found, then call createPrivateChat and open the chat.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#tokenTD::Types::String

The token.

Returns:

  • (TD::Types::String)

    the current value of token



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

def token
  @token
end