Concord - C Discord API library
A Discord API wrapper library written in C
interaction.h File Reference

Interaciton public functions and datatypes. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

CCORDcode discord_create_interaction_response (struct discord *client, u64snowflake interaction_id, const char interaction_token[], struct discord_interaction_response *params, struct discord_ret_interaction_response *ret)
 Create a response to an Interaction from the gateway. More...
 
CCORDcode discord_get_original_interaction_response (struct discord *client, u64snowflake application_id, const char interaction_token[], struct discord_ret_interaction_response *ret)
 Get the initial Interaction response. More...
 
CCORDcode discord_edit_original_interaction_response (struct discord *client, u64snowflake application_id, const char interaction_token[], struct discord_edit_original_interaction_response *params, struct discord_ret_interaction_response *ret)
 Edit the initial Interaction response. More...
 
CCORDcode discord_delete_original_interaction_response (struct discord *client, u64snowflake application_id, const char interaction_token[], struct discord_ret *ret)
 Delete the initial Interaction response. More...
 
CCORDcode discord_create_followup_message (struct discord *client, u64snowflake application_id, const char interaction_token[], struct discord_create_followup_message *params, struct discord_ret_webhook *ret)
 Create a followup message for an Interaction. More...
 
CCORDcode discord_get_followup_message (struct discord *client, u64snowflake application_id, const char interaction_token[], u64snowflake message_id, struct discord_ret_message *ret)
 Get a followup message for an interaction. More...
 
CCORDcode discord_edit_followup_message (struct discord *client, u64snowflake application_id, const char interaction_token[], u64snowflake message_id, struct discord_edit_followup_message *params, struct discord_ret_message *ret)
 Edits a followup message for an interaction. More...
 
CCORDcode discord_delete_followup_message (struct discord *client, u64snowflake application_id, const char interaction_token[], u64snowflake message_id, struct discord_ret *ret)
 Edits a followup message for an interaction. More...
 

Detailed Description

Interaciton public functions and datatypes.

Author
Cogmasters