SavePreparedInlineMessage

@Serializable
data class SavePreparedInlineMessage(val userId: UserId, val result: InlineQueryResult, val allowSendToUsers: Boolean = false, val allowSendToBots: Boolean = false, val allowSendToGroups: Boolean = false, val allowSendToChannels: Boolean = false) : SimpleRequest<PreparedInlineMessage>

Constructors

Link copied to clipboard
constructor(userId: UserId, result: InlineQueryResult, allowSendToUsers: Boolean = false, allowSendToBots: Boolean = false, allowSendToGroups: Boolean = false, allowSendToChannels: Boolean = false)

Properties

Link copied to clipboard
@SerialName(value = "allow_bot_chats")
val allowSendToBots: Boolean = false
Link copied to clipboard
@SerialName(value = "allow_channel_chats")
val allowSendToChannels: Boolean = false
Link copied to clipboard
@SerialName(value = "allow_group_chats")
val allowSendToGroups: Boolean = false
Link copied to clipboard
@SerialName(value = "allow_user_chats")
val allowSendToUsers: Boolean = false
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
Link copied to clipboard
@SerialName(value = "result")
val result: InlineQueryResult
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<PreparedInlineMessage>
Link copied to clipboard
@SerialName(value = "user_id")
val userId: UserId

Functions

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