Module tdlight.api

Class TdApi.GetUser

Enclosing class:
TdApi

public static final class TdApi.GetUser extends TdApi.Function<TdApi.User>
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 long userId
      User identifier.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • 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(long 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 - long User identifier.
    • GetUser

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

      Returns User

      Throws:
      IOException
  • Method Details