AnswerInlineQuery

@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>

Constructors

Link copied to clipboard
constructor(inlineQueryID: InlineQueryId, results: List<InlineQueryResult> = emptyList(), cachedTime: Int? = null, isPersonal: Boolean? = null, nextOffset: String? = null, switchPmText: String?, switchPmParameter: String?)
constructor(inlineQueryID: InlineQueryId, results: List<InlineQueryResult> = emptyList(), cachedTime: Int? = null, isPersonal: Boolean? = null, nextOffset: String? = null, button: InlineQueryResultsButton? = null)

Properties

Link copied to clipboard
@SerialName(value = "button")
val button: InlineQueryResultsButton? = null
Link copied to clipboard
@SerialName(value = "cache_time")
val cachedTime: Int? = null
Link copied to clipboard
@SerialName(value = "inline_query_id")
val inlineQueryID: InlineQueryId
Link copied to clipboard
@SerialName(value = "is_personal")
val isPersonal: Boolean? = null
Link copied to clipboard
@SerialName(value = "next_offset")
val nextOffset: String? = null
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<Boolean>
Link copied to clipboard
@SerialName(value = "results")
val results: List<InlineQueryResult>

Functions

Link copied to clipboard
open override fun method(): String