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

Package com.github.insanusmokrassar.TelegramBotAPI.extensions.api.games

Functions

(common)

getGameScore

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

setGameScore

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