1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-10-01 15:06:10 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.extensions.api.send.games/index.md
2021-03-17 15:18:37 +00:00

8.7 KiB

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

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

Functions

Name Summary
reply [common]
Content
inline suspend fun TelegramBot.reply(to: Message, game: Game, disableNotification: Boolean = false, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): ContentMessage<GameContent>


replyWithGame [common]
Content
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 [common]
Content
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>