Concord - C Discord API library
A Discord API wrapper library written in C
|
Webhook public functions and datatypes. More...
Go to the source code of this file.
Functions | |
CCORDcode | discord_create_webhook (struct discord *client, u64snowflake channel_id, struct discord_create_webhook *params, struct discord_ret_webhook *ret) |
Create a new webhook. More... | |
CCORDcode | discord_get_channel_webhooks (struct discord *client, u64snowflake channel_id, struct discord_ret_webhooks *ret) |
Get webhooks from a given channel. More... | |
CCORDcode | discord_get_guild_webhooks (struct discord *client, u64snowflake guild_id, struct discord_ret_webhooks *ret) |
Get webhooks from a given guild webhook objects. More... | |
CCORDcode | discord_get_webhook (struct discord *client, u64snowflake webhook_id, struct discord_ret_webhook *ret) |
Get the new webhook object for the given id. More... | |
CCORDcode | discord_get_webhook_with_token (struct discord *client, u64snowflake webhook_id, const char webhook_token[], struct discord_ret_webhook *ret) |
CCORDcode | discord_modify_webhook (struct discord *client, u64snowflake webhook_id, struct discord_modify_webhook *params, struct discord_ret_webhook *ret) |
Modify a webhook. More... | |
CCORDcode | discord_modify_webhook_with_token (struct discord *client, u64snowflake webhook_id, const char webhook_token[], struct discord_modify_webhook_with_token *params, struct discord_ret_webhook *ret) |
CCORDcode | discord_delete_webhook (struct discord *client, u64snowflake webhook_id, struct discord_delete_webhook *params, struct discord_ret *ret) |
CCORDcode | discord_delete_webhook_with_token (struct discord *client, u64snowflake webhook_id, const char webhook_token[], struct discord_ret *ret) |
CCORDcode | discord_execute_webhook (struct discord *client, u64snowflake webhook_id, const char webhook_token[], struct discord_execute_webhook *params, struct discord_ret *ret) |
CCORDcode | discord_get_webhook_message (struct discord *client, u64snowflake webhook_id, const char webhook_token[], u64snowflake message_id, struct discord_ret_message *ret) |
Get previously-sent webhook message from the same token. More... | |
CCORDcode | discord_edit_webhook_message (struct discord *client, u64snowflake webhook_id, const char webhook_token[], u64snowflake message_id, struct discord_edit_webhook_message *params, struct discord_ret_message *ret) |
Edits a previously-sent webhook message from the same token. More... | |
CCORDcode | discord_delete_webhook_message (struct discord *client, u64snowflake webhook_id, const char webhook_token[], u64snowflake message_id, struct discord_ret *ret) |
Deletes a message that was created by the webhook. More... | |
Webhook public functions and datatypes.