Create Channel Invite

ORCAcode discord_create_channel_invite(struct discord *client, u64_snowflake_t channel_id, struct discord_create_channel_invite_params *params, struct discord_invite *ret)

Create a new invite for the channel.

Parameters
  • client – the client created with discord_init()

  • channel_id – the channel that the message belongs to

  • params – request parameters

  • ret – if successful, a discord_invite that should be free’d with discord_invite_cleanup()

Returns

ORCAcode for how the operation went, ORCA_OK means nothing out of the ordinary

Warning

doxygenstruct: Cannot find class “discord_create_channel_invite_params” in doxygen xml output for project “Orca” from directory: ../xml