Package-level declarations

Types

Link copied to clipboard
@Serializable
data class AnswerCallbackQuery(val callbackQueryId: CallbackQueryId, val text: String? = null, val showAlert: Boolean? = null, val url: String? = null, val cachedTimeSeconds: Int? = null) : SimpleRequest<Boolean>
Link copied to clipboard
@Serializable
data class AnswerInlineQuery(val inlineQueryID: InlineQueryId, val results: List<InlineQueryResult> = emptyList(), val cachedTime: Int? = null, val isPersonal: Boolean? = null, val nextOffset: String? = null, val button: InlineQueryResultsButton? = null) : SimpleRequest<Boolean>
Link copied to clipboard
@Serializable
data class AnswerWebAppQuery(val webAppQueryId: WebAppQueryId, val result: InlineQueryResult) : SimpleRequest<SentWebAppMessage>
Link copied to clipboard

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, button: InlineQueryResultsButton? = null): AnswerInlineQuery
fun InlineQuery.createAnswer(results: List<InlineQueryResult> = emptyList(), cachedTime: Int? = null, isPersonal: Boolean? = null, nextOffset: String? = null, switchPmText: String?, switchPmParameter: String?): AnswerInlineQuery