1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2026-08-25 18:36:31 +00:00
Files
tgbotapi/docs/dev.inmo.tgbotapi.extensions.api.games/index.md
InsanusMokrassar b942627f12 deploy: 308fb9274b
2021-03-17 15:18:37 +00:00

15 lines
14 KiB
Markdown

//[docs](../../index.md)/[dev.inmo.tgbotapi.extensions.api.games](index.md)
# Package dev.inmo.tgbotapi.extensions.api.games
## Functions
| Name | Summary |
|---|---|
| <a name="dev.inmo.tgbotapi.extensions.api.games//getGameScore/dev.inmo.tgbotapi.bot.RequestsExecutor#dev.inmo.tgbotapi.types.ChatId#dev.inmo.tgbotapi.types.message.abstracts.ContentMessage[dev.inmo.tgbotapi.types.message.content.GameContent]/PointingToDeclaration/"></a>[getGameScore](get-game-score.md)| <a name="dev.inmo.tgbotapi.extensions.api.games//getGameScore/dev.inmo.tgbotapi.bot.RequestsExecutor#dev.inmo.tgbotapi.types.ChatId#dev.inmo.tgbotapi.types.message.abstracts.ContentMessage[dev.inmo.tgbotapi.types.message.content.GameContent]/PointingToDeclaration/"></a>[common] <br>Content <br>suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[getGameScore](get-game-score.md)(userId: [UserId](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FUserId%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), message: [ContentMessage](../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.md)<[GameContent](../dev.inmo.tgbotapi.types.message.content/-game-content/index.md)>): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[GameHighScore](../dev.inmo.tgbotapi.types.games/-game-high-score/index.md)> <br>suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[getGameScore](get-game-score.md)(userId: [UserId](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FUserId%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), inlineMessageId: [InlineMessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FInlineMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[GameHighScore](../dev.inmo.tgbotapi.types.games/-game-high-score/index.md)> <br>suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[getGameScore](get-game-score.md)(user: [CommonUser](../dev.inmo.tgbotapi.types/-common-user/index.md), message: [ContentMessage](../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.md)<[GameContent](../dev.inmo.tgbotapi.types.message.content/-game-content/index.md)>): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[GameHighScore](../dev.inmo.tgbotapi.types.games/-game-high-score/index.md)> <br>suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[getGameScore](get-game-score.md)(user: [CommonUser](../dev.inmo.tgbotapi.types/-common-user/index.md), inlineMessageId: [InlineMessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FInlineMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[GameHighScore](../dev.inmo.tgbotapi.types.games/-game-high-score/index.md)> <br>suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[getGameScore](get-game-score.md)(userId: [UserId](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FUserId%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), chatId: [ChatId](../dev.inmo.tgbotapi.types/-chat-id/index.md), messageId: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[GameHighScore](../dev.inmo.tgbotapi.types.games/-game-high-score/index.md)> <br>suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[getGameScore](get-game-score.md)(userId: [UserId](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FUserId%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), chat: [Chat](../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.md), messageId: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[GameHighScore](../dev.inmo.tgbotapi.types.games/-game-high-score/index.md)> <br>suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[getGameScore](get-game-score.md)(user: [CommonUser](../dev.inmo.tgbotapi.types/-common-user/index.md), chatId: [ChatId](../dev.inmo.tgbotapi.types/-chat-id/index.md), messageId: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[GameHighScore](../dev.inmo.tgbotapi.types.games/-game-high-score/index.md)> <br>suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[getGameScore](get-game-score.md)(user: [CommonUser](../dev.inmo.tgbotapi.types/-common-user/index.md), chat: [Chat](../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.md), messageId: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[GameHighScore](../dev.inmo.tgbotapi.types.games/-game-high-score/index.md)> <br><br><br>|
| <a name="dev.inmo.tgbotapi.extensions.api.games//setGameScore/dev.inmo.tgbotapi.bot.RequestsExecutor#dev.inmo.tgbotapi.types.ChatId#kotlin.Long#dev.inmo.tgbotapi.types.message.abstracts.ContentMessage[dev.inmo.tgbotapi.types.message.content.GameContent]#kotlin.Boolean#kotlin.Boolean/PointingToDeclaration/"></a>[setGameScore](set-game-score.md)| <a name="dev.inmo.tgbotapi.extensions.api.games//setGameScore/dev.inmo.tgbotapi.bot.RequestsExecutor#dev.inmo.tgbotapi.types.ChatId#kotlin.Long#dev.inmo.tgbotapi.types.message.abstracts.ContentMessage[dev.inmo.tgbotapi.types.message.content.GameContent]#kotlin.Boolean#kotlin.Boolean/PointingToDeclaration/"></a>[common] <br>Content <br>suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[setGameScore](set-game-score.md)(userId: [UserId](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FUserId%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), score: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), message: [ContentMessage](../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.md)<[GameContent](../dev.inmo.tgbotapi.types.message.content/-game-content/index.md)>, force: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, disableEditMessage: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) <br>suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[setGameScore](set-game-score.md)(userId: [UserId](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FUserId%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), score: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), inlineMessageId: [InlineMessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FInlineMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), force: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, disableEditMessage: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) <br>suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[setGameScore](set-game-score.md)(user: [CommonUser](../dev.inmo.tgbotapi.types/-common-user/index.md), score: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), message: [ContentMessage](../dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.md)<[GameContent](../dev.inmo.tgbotapi.types.message.content/-game-content/index.md)>, force: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, disableEditMessage: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) <br>suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[setGameScore](set-game-score.md)(user: [CommonUser](../dev.inmo.tgbotapi.types/-common-user/index.md), score: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), inlineMessageId: [InlineMessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FInlineMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), force: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, disableEditMessage: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) <br>suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[setGameScore](set-game-score.md)(userId: [UserId](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FUserId%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), score: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), chatId: [ChatId](../dev.inmo.tgbotapi.types/-chat-id/index.md), messageId: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), force: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, disableEditMessage: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) <br>suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[setGameScore](set-game-score.md)(userId: [UserId](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FUserId%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), score: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), chat: [Chat](../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.md), messageId: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), force: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, disableEditMessage: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) <br>suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[setGameScore](set-game-score.md)(user: [CommonUser](../dev.inmo.tgbotapi.types/-common-user/index.md), score: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), chatId: [ChatId](../dev.inmo.tgbotapi.types/-chat-id/index.md), messageId: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), force: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, disableEditMessage: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) <br>suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[setGameScore](set-game-score.md)(user: [CommonUser](../dev.inmo.tgbotapi.types/-common-user/index.md), score: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), chat: [Chat](../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.md), messageId: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), force: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, disableEditMessage: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) <br><br><br>|