Skip to main content

respond

Function respond 

Source
pub fn respond(
    interaction_id: &str,
    response: &Response,
) -> Result<Option<Id>, HostError>
Expand description

The initial response, within 3 s (the runtime defers automatically at 2.5 s). Returns the message id when the response created a channel message.