1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-09-30 06:26:08 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.extensions.api.answers/index.md
2021-03-17 15:18:37 +00:00

5.5 KiB

//docs/dev.inmo.tgbotapi.extensions.api.answers

Package dev.inmo.tgbotapi.extensions.api.answers

Functions

Name Summary
answerCallbackQuery [common]
Content
suspend fun TelegramBot.answerCallbackQuery(callbackQuery: CallbackQuery, text: String? = null, showAlert: Boolean? = null, url: String? = null, cachedTimeSeconds: Int? = null): Boolean
suspend fun TelegramBot.answerCallbackQuery(callbackQueryId: CallbackQueryIdentifier, text: String? = null, showAlert: Boolean? = null, url: String? = null, cachedTimeSeconds: Int? = null): Boolean


answerInlineQuery [common]
Content
suspend fun TelegramBot.answerInlineQuery(inlineQuery: InlineQuery, results: List<InlineQueryResult> = emptyList(), cachedTime: Int? = null, isPersonal: Boolean? = null, nextOffset: String? = null, switchPmText: String? = null, switchPmParameter: String? = null): Boolean
suspend fun TelegramBot.answerInlineQuery(inlineQueryID: InlineQueryIdentifier, results: List<InlineQueryResult> = emptyList(), cachedTime: Int? = null, isPersonal: Boolean? = null, nextOffset: String? = null, switchPmText: String? = null, switchPmParameter: String? = null): Boolean