Package dev. inmo. tgbotapi. requests. answers
Types
Link copied to clipboard
data class AnswerCallbackQuery(callbackQueryId: CallbackQueryIdentifier, text: String?, showAlert: Boolean?, url: String?, cachedTimeSeconds: Int?) : SimpleRequest<Boolean>
Content copied to clipboard
Link copied to clipboard
data class AnswerInlineQuery(inlineQueryID: InlineQueryIdentifier, results: List<InlineQueryResult>, cachedTime: Int?, isPersonal: Boolean?, nextOffset: String?, switchPmText: String?, switchPmParameter: String?) : SimpleRequest<Boolean>
Content copied to clipboard
Link copied to clipboard
data class AnswerWebAppQuery(webAppQueryId: WebAppQueryId, result: InlineQueryResult) : SimpleRequest<SentWebAppMessage>
Content copied to clipboard
Link copied to clipboard
object InlineQueryAnswersResultsSerializer : KSerializer<List<InlineQueryResult>>
Content copied to clipboard
Functions
Link copied to clipboard
fun CallbackQuery.createAnswer(text: String? = null, showAlert: Boolean? = null, url: String? = null, cachedTimeSeconds: Int? = null): AnswerCallbackQuery
Content copied to clipboard
fun InlineQuery.createAnswer(results: List<InlineQueryResult> = emptyList(), cachedTime: Int? = null, isPersonal: Boolean? = null, nextOffset: String? = null, switchPmText: String? = null, switchPmParameter: String? = null): AnswerInlineQuery
Content copied to clipboard