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 Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      int userId
      User identifier.
    • Constructor Summary

      Constructors 
      Constructor Description
      GetUser()
      Default constructor.
      GetUser​(int userId)
      Constructor for initialization of all fields.
    • Field Detail

      • userId

        public int userId
        User identifier.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GetUser

        public GetUser()
        Default constructor.
      • GetUser

        public GetUser​(int userId)
        Constructor for initialization of all fields.
        Parameters:
        userId - User identifier.