Get Invite

ORCAcode discord_get_invite(struct discord *client, char *invite_code, struct discord_get_invite_params *params, struct discord_invite *ret)

Get an invite for the given code.

Parameters
  • client – the client created with discord_init()

  • invite_code – the invite code

  • 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_get_invite_params” in doxygen xml output for project “Orca” from directory: ../xml