1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2026-08-22 08:56:30 +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

14 KiB

//docs/dev.inmo.tgbotapi.extensions.api.games

Package dev.inmo.tgbotapi.extensions.api.games

Functions

Name Summary
getGameScore [common]
Content
suspend fun TelegramBot.getGameScore(userId: UserId, message: ContentMessage<GameContent>): List<GameHighScore>
suspend fun TelegramBot.getGameScore(userId: UserId, inlineMessageId: InlineMessageIdentifier): List<GameHighScore>
suspend fun TelegramBot.getGameScore(user: CommonUser, message: ContentMessage<GameContent>): List<GameHighScore>
suspend fun TelegramBot.getGameScore(user: CommonUser, inlineMessageId: InlineMessageIdentifier): List<GameHighScore>
suspend fun TelegramBot.getGameScore(userId: UserId, chatId: ChatId, messageId: MessageIdentifier): List<GameHighScore>
suspend fun TelegramBot.getGameScore(userId: UserId, chat: Chat, messageId: MessageIdentifier): List<GameHighScore>
suspend fun TelegramBot.getGameScore(user: CommonUser, chatId: ChatId, messageId: MessageIdentifier): List<GameHighScore>
suspend fun TelegramBot.getGameScore(user: CommonUser, chat: Chat, messageId: MessageIdentifier): List<GameHighScore>


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