Concord - C Discord API library
A Discord API wrapper library written in C
interaction.h
Go to the documentation of this file.
1
7#ifndef DISCORD_INTERACTION_H
8#define DISCORD_INTERACTION_H
9
26 struct discord *client,
27 u64snowflake interaction_id,
28 const char interaction_token[],
29 struct discord_interaction_response *params,
31
42 struct discord *client,
43 u64snowflake application_id,
44 const char interaction_token[],
46
58 struct discord *client,
59 u64snowflake application_id,
60 const char interaction_token[],
63
74 struct discord *client,
75 u64snowflake application_id,
76 const char interaction_token[],
77 struct discord_ret *ret);
78
90 struct discord *client,
91 u64snowflake application_id,
92 const char interaction_token[],
94 struct discord_ret_webhook *ret);
95
107 u64snowflake application_id,
108 const char interaction_token[],
109 u64snowflake message_id,
110 struct discord_ret_message *ret);
111
124 struct discord *client,
125 u64snowflake application_id,
126 const char interaction_token[],
127 u64snowflake message_id,
128 struct discord_edit_followup_message *params,
129 struct discord_ret_message *ret);
130
142 u64snowflake application_id,
143 const char interaction_token[],
144 u64snowflake message_id,
145 struct discord_ret *ret);
146
152#endif /* DISCORD_INTERACTION_H */
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:1182