Skip to content

Enum command::object::InteractionData

zaun_community_protocol::command::object::InteractionData · Enum

pub enum InteractionData { … }

data of an interaction, by type.

Command { command_id, name, kind, options, resolved, target_id }

Section titled “Command { command_id, name, kind, options, resolved, target_id }”

Types 2 and 4.

Component { custom_id, component_type, values, resolved }

Section titled “Component { custom_id, component_type, values, resolved }”

Type 3.

Type 5.

Clone, Debug, Deserialize<'de>, PartialEq, Serialize, StructuralPartialEq

Full rustdoc page