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 Details

    • chatId

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

      public long messageId
      Identifier of the message.
    • userId

      public long userId
      User identifier.
    • CONSTRUCTOR

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

    • GetGameHighScores

      public GetGameHighScores()
      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

    • GetGameHighScores

      public GetGameHighScores​(long chatId, long messageId, long userId)
      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

      Parameters:
      chatId - long The chat that contains the message with the game.
      messageId - long Identifier of the message.
      userId - long User identifier.
    • GetGameHighScores

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