Class TdApi.SearchUserByToken

Enclosing class:
TdApi

public static class TdApi.SearchUserByToken extends TdApi.Function<TdApi.User>
Searches a user by a token from the user's link.

Returns User

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    Token to search for.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which searches a user by a token from the user's link.
    Creates a function, which searches a user by a token from the user's link.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • token

      public String token
      Token to search for.
    • CONSTRUCTOR

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

    • SearchUserByToken

      public SearchUserByToken()
      Default constructor for a function, which searches a user by a token from the user's link.

      Returns User

    • SearchUserByToken

      public SearchUserByToken(String token)
      Creates a function, which searches a user by a token from the user's link.

      Returns User

      Parameters:
      token - Token to search for.
  • 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