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

Functions

getGameScore
Link copied to clipboard
common
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
Link copied to clipboard
common
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