7#ifndef DISCORD_INTERACTION_H
8#define DISCORD_INTERACTION_H
28 const char interaction_token[],
44 const char interaction_token[],
60 const char interaction_token[],
76 const char interaction_token[],
92 const char interaction_token[],
108 const char interaction_token[],
126 const char interaction_token[],
143 const char interaction_token[],
CCORDcode
Definition: error.h:12
uint64_t u64snowflake
Snowflake datatype.
Definition: types.h:28
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.
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.
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.
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.
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.
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.
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.
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.
Definition: interactions.h:199
Definition: interactions.h:236
Definition: interactions.h:174
Definition: interactions.h:125
Request's return context.
Definition: discord-response.h:179
Request's return context.
Definition: discord-response.h:86
Request's return context.
Definition: discord-response.h:162
Request's return context.
Definition: discord-response.h:54
The Discord client handler.
Definition: discord-internal.h:1190