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

#include <application_commands.h>

Collaboration diagram for discord_application_command_interaction_data_option:
[legend]

Data Fields

char * name
 
enum discord_application_command_option_types type
 
json_charvalue
 
struct discord_application_command_interaction_data_optionsoptions
 
bool focused
 

Field Documentation

◆ name

char* discord_application_command_interaction_data_option::name

the name of the parameter

◆ type

enum discord_application_command_option_types discord_application_command_interaction_data_option::type

value of the application command option type

◆ value

json_char* discord_application_command_interaction_data_option::value

the value of the option resulting from user input

Note
in case of a string the value must be enclosed with escaped commands, ex: \"hi\\"

◆ options

struct discord_application_command_interaction_data_options* discord_application_command_interaction_data_option::options

present if this option is a group or subcommand

◆ focused

bool discord_application_command_interaction_data_option::focused

true if this option is the currently focused option for autocomplete


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