Class TdApi.GameHighScore

  • Enclosing class:
    TdApi

    public static class TdApi.GameHighScore
    extends TdApi.Object
    Contains one row of the game high score table.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      int position
      Position in the high score table.
      int score
      User score.
      int userId
      User identifier.
    • Constructor Summary

      Constructors 
      Constructor Description
      GameHighScore()
      Default constructor.
      GameHighScore​(int position, int userId, int score)
      Constructor for initialization of all fields.
    • Field Detail

      • position

        public int position
        Position in the high score table.
      • userId

        public int userId
        User identifier.
      • score

        public int score
        User score.
      • CONSTRUCTOR

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

      • GameHighScore

        public GameHighScore()
        Default constructor.
      • GameHighScore

        public GameHighScore​(int position,
                             int userId,
                             int score)
        Constructor for initialization of all fields.
        Parameters:
        position - Position in the high score table.
        userId - User identifier.
        score - User score.