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

Functions

getGameScore
Link copied to clipboard
common
suspend fun RequestsExecutor.getGameScore(userId: ChatId, message: ContentMessage<GameContent>): List<GameHighScore>
suspend fun RequestsExecutor.getGameScore(userId: ChatId, inlineMessageId: String): List<GameHighScore>
suspend fun RequestsExecutor.getGameScore(user: CommonUser, message: ContentMessage<GameContent>): List<GameHighScore>
suspend fun RequestsExecutor.getGameScore(user: CommonUser, inlineMessageId: String): List<GameHighScore>
suspend fun RequestsExecutor.getGameScore(userId: ChatId, chatId: ChatId, messageId: Long): List<GameHighScore>
suspend fun RequestsExecutor.getGameScore(userId: ChatId, chat: Chat, messageId: Long): List<GameHighScore>
suspend fun RequestsExecutor.getGameScore(user: CommonUser, chatId: ChatId, messageId: Long): List<GameHighScore>
suspend fun RequestsExecutor.getGameScore(user: CommonUser, chat: Chat, messageId: Long): List<GameHighScore>
setGameScore
Link copied to clipboard
common
suspend fun RequestsExecutor.setGameScore(userId: ChatId, score: Long, message: ContentMessage<GameContent>, force: Boolean, disableEditMessage: Boolean): Boolean
suspend fun RequestsExecutor.setGameScore(userId: ChatId, score: Long, inlineMessageId: String, force: Boolean, disableEditMessage: Boolean): Boolean
suspend fun RequestsExecutor.setGameScore(user: CommonUser, score: Long, message: ContentMessage<GameContent>, force: Boolean, disableEditMessage: Boolean): Boolean
suspend fun RequestsExecutor.setGameScore(user: CommonUser, score: Long, inlineMessageId: String, force: Boolean, disableEditMessage: Boolean): Boolean
suspend fun RequestsExecutor.setGameScore(userId: ChatId, score: Long, chatId: ChatId, messageId: Long, force: Boolean, disableEditMessage: Boolean): Boolean
suspend fun RequestsExecutor.setGameScore(userId: ChatId, score: Long, chat: Chat, messageId: Long, force: Boolean, disableEditMessage: Boolean): Boolean
suspend fun RequestsExecutor.setGameScore(user: CommonUser, score: Long, chatId: ChatId, messageId: Long, force: Boolean, disableEditMessage: Boolean): Boolean
suspend fun RequestsExecutor.setGameScore(user: CommonUser, score: Long, chat: Chat, messageId: Long, force: Boolean, disableEditMessage: Boolean): Boolean