Package dev.inmo.tgbotapi.requests.answers

Types

Link copied to clipboard
data class AnswerCallbackQuery(    val callbackQueryId: CallbackQueryIdentifier,     val text: String? = null,     val showAlert: Boolean? = null,     val url: String? = null,     val cachedTimeSeconds: Int? = null) : SimpleRequest<Boolean>
Link copied to clipboard
data class AnswerInlineQuery(    val inlineQueryID: InlineQueryIdentifier,     val results: List<InlineQueryResult> = emptyList(),     val cachedTime: Int? = null,     val isPersonal: Boolean? = null,     val nextOffset: String? = null,     val switchPmText: String? = null,     val switchPmParameter: String? = null) : SimpleRequest<Boolean>
Link copied to clipboard
data class AnswerWebAppQuery(val webAppQueryId: WebAppQueryId, val result: InlineQueryResult) : SimpleRequest<SentWebAppMessage>
Link copied to clipboard
object InlineQueryAnswersResultsSerializer : KSerializer<List<InlineQueryResult>>

Functions

Link copied to clipboard
fun CallbackQuery.createAnswer(    text: String? = null,     showAlert: Boolean? = null,     url: String? = null,     cachedTimeSeconds: Int? = null): AnswerCallbackQuery
fun InlineQuery.createAnswer(    results: List<InlineQueryResult> = emptyList(),     cachedTime: Int? = null,     isPersonal: Boolean? = null,     nextOffset: String? = null,     switchPmText: String? = null,     switchPmParameter: String? = null): AnswerInlineQuery