Class TdApi.GetGameHighScores

  • Enclosing class:
    TdApi

    public static class TdApi.GetGameHighScores
    extends TdApi.Function
    Returns the high scores for a game and some part of the high score table in the range of the specified user; for bots only.

    Returns GameHighScores

    • Field Summary

      Fields 
      Modifier and Type Field Description
      long chatId
      The chat that contains the message with the game.
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      long messageId
      Identifier of the message.
      int userId
      User identifier.
    • Constructor Summary

      Constructors 
      Constructor Description
      GetGameHighScores()
      Default constructor.
      GetGameHighScores​(long chatId, long messageId, int userId)
      Constructor for initialization of all fields.
    • Field Detail

      • chatId

        public long chatId
        The chat that contains the message with the game.
      • messageId

        public long messageId
        Identifier of the message.
      • 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

      • GetGameHighScores

        public GetGameHighScores()
        Default constructor.
      • GetGameHighScores

        public GetGameHighScores​(long chatId,
                                 long messageId,
                                 int userId)
        Constructor for initialization of all fields.
        Parameters:
        chatId - The chat that contains the message with the game.
        messageId - Identifier of the message.
        userId - User identifier.