Enum command::interaction::ResponseType
zaun_community_protocol::command::interaction::ResponseType · Enum
pub enum ResponseType { … }Interaction response types (Discord’s callback numbers).
Variants
Section titled “Variants”ChannelMessage
Section titled “ChannelMessage”4: a message.
DeferredChannelMessage
Section titled “DeferredChannelMessage”5: a loading message, edited later.
DeferredUpdateMessage
Section titled “DeferredUpdateMessage”6: acknowledge a component without a visible change yet.
UpdateMessage
Section titled “UpdateMessage”7: edit the component’s message.
AutocompleteResult
Section titled “AutocompleteResult”8: autocomplete choices.
9: open a modal.
Trait implementations
Section titled “Trait implementations”Clone, Copy, Debug, Deserialize<'de>, Eq, From<ResponseType>, Hash, PartialEq, Serialize, StructuralPartialEq, TryFrom<u8>