Function harmony_rust_sdk::client::api::chat::invite::create_invite[][src]

pub async fn create_invite<Req: Into<CreateInviteRequest> + Debug>(
    client: &Client,
    request: Req
) -> ClientResult<CreateInviteResponse>

Create an invite with a name and a number of uses for the specified guild.

If the number of possible uses are 0, invite usage won’t be limited.