Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <interactions.h>
Data Fields | |
u64snowflake | id |
char * | name |
enum discord_application_command_types | type |
struct discord_resolved_data * | resolved |
struct discord_application_command_interaction_data_options * | options |
char * | custom_id |
enum discord_component_types | component_type |
struct strings * | values |
u64snowflake | target_id |
struct discord_components * | components |
u64snowflake discord_interaction_data::id |
the ID of the invoked command
char* discord_interaction_data::name |
the name of the invoked command
enum discord_application_command_types discord_interaction_data::type |
the type of the invoked command
struct discord_resolved_data* discord_interaction_data::resolved |
converted users + roles + channels + attachments
struct discord_application_command_interaction_data_options* discord_interaction_data::options |
the params + values from the user
char* discord_interaction_data::custom_id |
the custom_id of the component
enum discord_component_types discord_interaction_data::component_type |
the type of the component
struct strings* discord_interaction_data::values |
the values the user selected
u64snowflake discord_interaction_data::target_id |
the ID of the user or messaged targetted by a user or message command
struct discord_components* discord_interaction_data::components |
the values submitted by the user