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

Functions

answer
Link copied to clipboard
suspend fun TelegramBot.answer(callbackQuery: CallbackQuery, text: String? = null, showAlert: Boolean? = null, url: String? = null, cachedTimeSeconds: Int? = null): Boolean
suspend fun TelegramBot.answer(inlineQuery: InlineQuery, results: List<InlineQueryResult> = emptyList(), cachedTime: Int? = null, isPersonal: Boolean? = null, nextOffset: String? = null, switchPmText: String? = null, switchPmParameter: String? = null): Boolean
answerCallbackQuery
Link copied to clipboard
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
Link copied to clipboard
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