Get Channel Invites#
-
ORCAcode discord_get_channel_invites(struct discord *client, u64_snowflake_t channel_id, struct discord_invite ***ret)#
Get invites (with invite metadata) for the channel.
- Parameters:
client – the client created with discord_init()
channel_id – the channel that the message belongs to
ret – if successful, a null-terminated list of discord_invite, that should be free’d with
discord_invite_list_free()
- Returns:
ORCAcode for how the operation went, ORCA_OK means nothing out of the ordinary