Skip to main content

Module interaction_response

Module interaction_response 

Source
Available on crate feature builder only.
Expand description

Create InteractionResponses with builders.

§Example

use twilight_util::builder::interaction_response::ChannelMessageBuilder;

ChannelMessageBuilder::new().content("Congrats on sending your command!");

Structs§

AutocompleteBuilder
Builder for a InteractionResponse of type InteractionResponseType::ApplicationCommandAutocompleteResult.
ChannelMessageBuilder
Builder for a InteractionResponse of type InteractionResponseType::ChannelMessageWithSource.
ModalBuilder
Builder for a InteractionResponse of type InteractionResponseType::Modal.
UpdateMessageBuilder
Builder for a InteractionResponse of type InteractionResponseType::UpdateMessage.