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

Functions

answerCallbackQuery
Link copied to clipboard
common
suspend fun RequestsExecutor.answerCallbackQuery(callbackQuery: CallbackQuery, text: String?, showAlert: Boolean?, url: String?, cachedTimeSeconds: Int?): Boolean
suspend fun RequestsExecutor.answerCallbackQuery(callbackQueryId: String, text: String?, showAlert: Boolean?, url: String?, cachedTimeSeconds: Int?): Boolean
answerInlineQuery
Link copied to clipboard
common
suspend fun RequestsExecutor.answerInlineQuery(inlineQuery: InlineQuery, results: List<InlineQueryResult>, cachedTime: Int?, isPersonal: Boolean?, nextOffset: String?, switchPmText: String?, switchPmParameter: String?): Boolean
suspend fun RequestsExecutor.answerInlineQuery(inlineQueryID: String, results: List<InlineQueryResult>, cachedTime: Int?, isPersonal: Boolean?, nextOffset: String?, switchPmText: String?, switchPmParameter: String?): Boolean