Function get_channel_invites
Source pub async fn get_channel_invites(
client: &Client,
token: &str,
channel_id: &str,
) -> Result<Value, Box<dyn Error>>
Expand description
Fetches channel invites.
§Arguments
client - The HTTP client used to send the request.
token - The bot token for authentication.
channel_id - The ID of the channel to fetch invites for.
§Returns
A result containing the channel invites as a JSON value.