Data

@Serializable
data class Data(val tts: Boolean = false, val content: String? = null, val embeds: List<Embed> = emptyList(), val allowedMentions: AllowedMentions? = null, val flags: InteractionCommandCallbackDataFlags = InteractionCommandCallbackDataFlags.NONE, val components: List<MessageComponent> = emptyList(), val attachments: List<Attachment> = emptyList())(source)

Constructors

Link copied to clipboard
constructor(tts: Boolean = false, content: String? = null, embeds: List<Embed> = emptyList(), allowedMentions: AllowedMentions? = null, flags: InteractionCommandCallbackDataFlags = InteractionCommandCallbackDataFlags.NONE, components: List<MessageComponent> = emptyList(), attachments: List<Attachment> = emptyList())

Properties

Link copied to clipboard
@SerialName(value = "allowed_mentions")
val allowedMentions: AllowedMentions? = null
Link copied to clipboard
@SerialName(value = "attachments")
val attachments: List<Attachment>
Link copied to clipboard
@SerialName(value = "components")
val components: List<MessageComponent>
Link copied to clipboard
@SerialName(value = "content")
val content: String? = null
Link copied to clipboard
@SerialName(value = "embeds")
val embeds: List<Embed>
Link copied to clipboard
@SerialName(value = "flags")
val flags: InteractionCommandCallbackDataFlags
Link copied to clipboard
@SerialName(value = "tts")
val tts: Boolean = false