Enum command::object::InteractionType
zaun_community_protocol::command::object::InteractionType · Enum
pub enum InteractionType { … }type of an interaction (Discord’s numbers; PING is not used).
Variants
Section titled “Variants”ApplicationCommand
Section titled “ApplicationCommand”2: a slash, user or message command.
MessageComponent
Section titled “MessageComponent”3: a button or select.
Autocomplete
Section titled “Autocomplete”4: partial input of an autocomplete option.
ModalSubmit
Section titled “ModalSubmit”5: a submitted modal.
Trait implementations
Section titled “Trait implementations”Clone, Copy, Debug, Deserialize<'de>, Eq, From<InteractionType>, Hash, PartialEq, Serialize, StructuralPartialEq, TryFrom<u8>