Function serenity::http::create_invite[][src]

pub fn create_invite(
    channel_id: u64,
    map: &Map<String, Value>
) -> Result<RichInvite>

Creates a RichInvite for the given channel.

Refer to Discord's docs for field information.

All fields are optional.

Note: Requires the Create Invite permission.