Class TdApi.GetUser

Enclosing class:
TdApi

public static class TdApi.GetUser
extends TdApi.Function
Returns information about a user by their identifier. This is an offline request if the current user is not a bot.

Returns User

  • Field Details

    • userId

      public int userId
      User identifier.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • GetUser

      public GetUser()
      Returns information about a user by their identifier. This is an offline request if the current user is not a bot.

      Returns User

    • GetUser

      public GetUser​(int userId)
      Returns information about a user by their identifier. This is an offline request if the current user is not a bot.

      Returns User

      Parameters:
      userId - int User identifier.
    • GetUser

      public GetUser​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details