SetGameScore constructor

const SetGameScore({
  1. required int chatId,
  2. required int messageId,
  3. required bool editMessage,
  4. required int userId,
  5. required int score,
  6. required bool force,
})

Updates the game score of the specified user in the game; for bots only

Implementation

const SetGameScore({
  required this.chatId,
  required this.messageId,
  required this.editMessage,
  required this.userId,
  required this.score,
  required this.force,
});