Module tdlight.api

Class TdApi.MessageGameScore

Enclosing class:
TdApi

public static final class TdApi.MessageGameScore extends TdApi.MessageContent
A new high score was achieved in a game.
  • Field Details

    • gameMessageId

      public long gameMessageId
      Identifier of the message with the game, can be an identifier of a deleted message.
    • gameId

      public long gameId
      Identifier of the game; may be different from the games presented in the message with the game.
    • score

      public int score
      New score.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • MessageGameScore

      public MessageGameScore()
      A new high score was achieved in a game.
    • MessageGameScore

      public MessageGameScore(long gameMessageId, long gameId, int score)
      A new high score was achieved in a game.
      Parameters:
      gameMessageId - long Identifier of the message with the game, can be an identifier of a deleted message.
      gameId - long Identifier of the game; may be different from the games presented in the message with the game.
      score - int New score.
    • MessageGameScore

      public MessageGameScore(DataInput input) throws IOException
      A new high score was achieved in a game.
      Throws:
      IOException
  • Method Details