Concord - C Discord API library
A Discord API wrapper library written in C
discord_interaction_callback_data Struct Reference

#include <interactions.h>

Collaboration diagram for discord_interaction_callback_data:
[legend]

Data Fields

struct discord_componentscomponents
 
bool tts
 
char * content
 
struct discord_embedsembeds
 
u64bitmask flags
 
struct discord_attachmentsattachments
 
struct discord_application_command_option_choiceschoices
 
char * custom_id
 
char * title
 

Detailed Description

Field Documentation

◆ components

struct discord_components* discord_interaction_callback_data::components

message components

◆ tts

bool discord_interaction_callback_data::tts

is the response TTS

◆ content

char* discord_interaction_callback_data::content

message content

Examples
slash-commands2.c.

◆ embeds

struct discord_embeds* discord_interaction_callback_data::embeds

supports up to 10 embeds

◆ flags

u64bitmask discord_interaction_callback_data::flags

Message flags combined as a bitfield (only DISCORD_MESSAGE_SUPRESS_EMBEDS and DISCORD_MESSAGE_EPHEMERAL can be set)

◆ attachments

struct discord_attachments* discord_interaction_callback_data::attachments

attachment objects with filename and description

◆ choices

struct discord_application_command_option_choices* discord_interaction_callback_data::choices

autocomplete choices (max of 25 choices)

◆ custom_id

char* discord_interaction_callback_data::custom_id

a developer defined identifier for the component, max 100 characters

◆ title

char* discord_interaction_callback_data::title

the title of the popup modal


The documentation for this struct was generated from the following file: