Enum bindings::zaun::bot::types::Response
zaun_bot::bindings::zaun::bot::types::Response · Enum
pub enum Response { … }Callback types 4-9 (8, the autocomplete result, is the return value of
on-autocomplete).
Variants
Section titled “Variants”Message(MessageBody)
Section titled “Message(MessageBody)”4: CHANNEL_MESSAGE_WITH_SOURCE.
DeferredMessage(bool)
Section titled “DeferredMessage(bool)”5: DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE; true = ephemeral.
DeferredUpdate
Section titled “DeferredUpdate”6: DEFERRED_UPDATE_MESSAGE.
UpdateMessage(MessageBody)
Section titled “UpdateMessage(MessageBody)”7: UPDATE_MESSAGE.
Modal(Modal)
Section titled “Modal(Modal)”9: MODAL.
Trait implementations
Section titled “Trait implementations”Clone, Debug