# setGameScore - docs

docs / com.github.insanusmokrassar.TelegramBotAPI.extensions.api.games / setGameScore

# setGameScore

(common) `suspend fun RequestsExecutor.setGameScore(userId: UserId, score: Long, chatId: ChatId, messageId: MessageIdentifier, force: Boolean = false, disableEditMessage: Boolean = false): Boolean` (source)
`suspend fun RequestsExecutor.setGameScore(user: CommonUser, score: Long, chatId: ChatId, messageId: MessageIdentifier, force: Boolean = false, disableEditMessage: Boolean = false): Boolean` (source)
`suspend fun RequestsExecutor.setGameScore(userId: UserId, score: Long, chat: Chat, messageId: MessageIdentifier, force: Boolean = false, disableEditMessage: Boolean = false): Boolean` (source)
`suspend fun RequestsExecutor.setGameScore(user: CommonUser, score: Long, chat: Chat, messageId: MessageIdentifier, force: Boolean = false, disableEditMessage: Boolean = false): Boolean` (source)
`suspend fun RequestsExecutor.setGameScore(userId: UserId, score: Long, message: ContentMessage<GameContent>, force: Boolean = false, disableEditMessage: Boolean = false): Boolean` (source)
`suspend fun RequestsExecutor.setGameScore(user: CommonUser, score: Long, message: ContentMessage<GameContent>, force: Boolean = false, disableEditMessage: Boolean = false): Boolean` (source)
`suspend fun RequestsExecutor.setGameScore(userId: UserId, score: Long, inlineMessageId: InlineMessageIdentifier, force: Boolean = false, disableEditMessage: Boolean = false): Boolean` (source)
`suspend fun RequestsExecutor.setGameScore(user: CommonUser, score: Long, inlineMessageId: InlineMessageIdentifier, force: Boolean = false, disableEditMessage: Boolean = false): Boolean` (source)