Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <interactions.h>
Data Fields | |
struct discord_components * | components |
bool | tts |
char * | content |
struct discord_embeds * | embeds |
u64bitmask | flags |
struct discord_attachments * | attachments |
struct discord_application_command_option_choices * | choices |
char * | custom_id |
char * | title |
struct discord_components* discord_interaction_callback_data::components |
message components
bool discord_interaction_callback_data::tts |
is the response TTS
char* discord_interaction_callback_data::content |
message content
struct discord_embeds* discord_interaction_callback_data::embeds |
supports up to 10 embeds
u64bitmask discord_interaction_callback_data::flags |
Message flags combined as a bitfield (only DISCORD_MESSAGE_SUPRESS_EMBEDS and DISCORD_MESSAGE_EPHEMERAL can be set)
struct discord_attachments* discord_interaction_callback_data::attachments |
attachment objects with filename and description
struct discord_application_command_option_choices* discord_interaction_callback_data::choices |
autocomplete choices (max of 25 choices)
char* discord_interaction_callback_data::custom_id |
a developer defined identifier for the component, max 100 characters
char* discord_interaction_callback_data::title |
the title of the popup modal