Skip to main content

run

Function run 

Source
pub async fn run(
    sender: GatewaySender,
    events: GatewayEvents,
    gateway: &mut ReadyPayload,
    session: &mut SessionReadyPayload,
    gateway_endpoint: String,
    choose_initial_bot: bool,
) -> Result<(FrontendExit, GatewaySender, GatewayEvents)>
Expand description

Runs the interactive terminal frontend.

§Errors

Returns an error if validation or an operation required to complete the request fails.