AnswerCallbackQuery

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

Constructors

Link copied to clipboard
constructor(callbackQueryId: CallbackQueryId, text: String? = null, showAlert: Boolean? = null, url: String? = null, cachedTimeSeconds: Int? = null)

Properties

Link copied to clipboard
@SerialName(value = "cache_time")
val cachedTimeSeconds: Int? = null
Link copied to clipboard
@SerialName(value = "callback_query_id")
val callbackQueryId: CallbackQueryId
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 = "show_alert")
val showAlert: Boolean? = null
Link copied to clipboard
@SerialName(value = "text")
val text: String? = null
Link copied to clipboard
@SerialName(value = "url")
val url: String? = null

Functions

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