Class TdApi.InternalLinkTypeUserToken

Enclosing class:
TdApi

public static class TdApi.InternalLinkTypeUserToken extends TdApi.InternalLinkType
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.
  • Field Details

    • token

      public String token
      The token.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • InternalLinkTypeUserToken

      public InternalLinkTypeUserToken()
      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.
    • InternalLinkTypeUserToken

      public InternalLinkTypeUserToken(String token)
      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.
      Parameters:
      token - The token.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR