Package dev. inmo. tgbotapi. extensions. api. answers
Functions
Link copied to clipboard
suspend fun TelegramBot.answer(webAppQueryId: WebAppQueryId, result: InlineQueryResult): SentWebAppMessage
Content copied to clipboard
suspend fun TelegramBot.answer(callbackQuery: CallbackQuery, text: String? = null, showAlert: Boolean? = null, url: String? = null, cachedTimeSeconds: Int? = null): Boolean
Content copied to clipboard
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
Content copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.answerCallbackQuery(callbackQuery: CallbackQuery, text: String? = null, showAlert: Boolean? = null, url: String? = null, cachedTimeSeconds: Int? = null): Boolean
Content copied to clipboard
suspend fun TelegramBot.answerCallbackQuery(callbackQueryId: CallbackQueryIdentifier, text: String? = null, showAlert: Boolean? = null, url: String? = null, cachedTimeSeconds: Int? = null): Boolean
Content copied to clipboard
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
Content copied to clipboard
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
Content copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.answerWebAppQuery(webAppQueryId: WebAppQueryId, result: InlineQueryResult): SentWebAppMessage
Content copied to clipboard