Get Webhook with Token#
-
ORCAcode discord_get_webhook_with_token(struct discord *client, u64_snowflake_t webhook_id, const char webhook_token[], struct discord_webhook *ret)#
Same as discord_get_webhook(), except this call does not require authentication and returns no user in the webhook object
- Parameters:
client – the client created with discord_init()
webhook_id – the webhook itself
webhook_token – the webhook token
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