Get Webhook#
-
ORCAcode discord_get_webhook(struct discord *client, u64_snowflake_t webhook_id, struct discord_webhook *ret)#
Get the new webhook object for the given id.
- Parameters:
client – the client created with discord_init()
webhook_id – the webhook itself
ret – if successful, a discord_webhook that should be free’d with
discord_webhook_cleanup()
- Returns:
ORCAcode for how the operation went, ORCA_OK means nothing out of the ordinary