ChatData

@Serializable
@SerialName(value = "1")
data class ChatData(val commandId: String, val commandName: String, val resolvedResources: CommandInteractionDataResolved? = null, val options: List<CommandInteractionOptionResponse> = emptyList()) : ApplicationCommand.Data(source)

Constructors

Link copied to clipboard
constructor(commandId: String, commandName: String, resolvedResources: CommandInteractionDataResolved? = null, options: List<CommandInteractionOptionResponse> = emptyList())

Properties

Link copied to clipboard
@SerialName(value = "id")
open override val commandId: String
Link copied to clipboard
@SerialName(value = "name")
open override val commandName: String
Link copied to clipboard
@SerialName(value = "options")
val options: List<CommandInteractionOptionResponse>
Link copied to clipboard
@SerialName(value = "resolved")
val resolvedResources: CommandInteractionDataResolved? = null