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.
      long userId
      User identifier.
    • Constructor Summary

      Constructors 
      Constructor Description
      GetGameHighScores()
      Default constructor for a function, which 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.
      GetGameHighScores​(long chatId, long messageId, long userId)
      Creates a function, which 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.
    • 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 long 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 for a function, which 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)
        Creates a function, which 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 - The chat that contains the message with the game.
        messageId - Identifier of the message.
        userId - User identifier.