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

Functions

Link copied to clipboard
suspend fun TelegramBot.answer(webAppQueryId: WebAppQueryId, result: InlineQueryResult): SentWebAppMessage
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
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
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
Link copied to clipboard
suspend fun TelegramBot.answerWebAppQuery(webAppQueryId: WebAppQueryId, result: InlineQueryResult): SentWebAppMessage