Get Webhook Message¶
-
ORCAcode discord_get_webhook_message(struct discord *client, u64_snowflake_t webhook_id, const char webhook_token[], u64_snowflake_t message_id, struct discord_message *ret)¶
Get previously-sent webhook message from the same token.
- Parameters
client – the client created with discord_init()
webhook_id – the webhook itself
webhook_token – the webhook token
message_id – the message the webhook belongs to
ret – if successful, a discord_message that should be free’d with
discord_message_cleanup()
- Returns
ORCAcode for how the operation went, ORCA_OK means nothing out of the ordinary