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

Functions

reply
Link copied to clipboard
common
inline suspend fun TelegramBot.reply(to: Message, game: Game, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
replyWithGame
Link copied to clipboard
common
inline suspend fun TelegramBot.replyWithGame(to: Message, game: Game, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
inline suspend fun TelegramBot.replyWithGame(to: Message, gameShortName: String, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
sendGame
Link copied to clipboard
common
suspend fun TelegramBot.sendGame(chatId: ChatIdentifier, game: Game, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
suspend fun TelegramBot.sendGame(chatId: ChatIdentifier, gameShortName: String, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
suspend fun TelegramBot.sendGame(chat: Chat, game: Game, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>
suspend fun TelegramBot.sendGame(chat: Chat, gameShortName: String, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>