Skip to content

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).

2: a slash, user or message command.

3: a button or select.

4: partial input of an autocomplete option.

5: a submitted modal.

Clone, Copy, Debug, Deserialize<'de>, Eq, From<InteractionType>, Hash, PartialEq, Serialize, StructuralPartialEq, TryFrom<u8>

Full rustdoc page