Invite's public API supported by Concord.
More...
Invite's public API supported by Concord.
◆ discord_get_invite()
Get an invite for the given code.
- Parameters
-
client | the client created with discord_init() |
invite_code | the invite code |
params | request parameters |
ret | return context of the request. if successful a discord_invite will be sent over to its assigned done callback |
- See also
- discord_ret_invite for more options
- Returns
- CCORDcode value for how the operation went, CCORD_OK means nothing out of the ordinary
- Examples
- invite.c.
◆ discord_delete_invite()
Delete an invite.
- Note
- Requires the MANAGE_CHANNELS permission on the channel this invite belongs to, or MANAGE_GUILD to remove any invite across the guild.
-
Fires a
Invite Delete
event
- Parameters
-
client | the client created with discord_init() |
invite_code | the invite code |
params | request parameters |
ret | return context of the request. if successful a discord_invite will be sent over to its assigned done callback |
- See also
- discord_ret_invite for more options
- Returns
- CCORDcode value for how the operation went, CCORD_OK means nothing out of the ordinary
- Examples
- invite.c.