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

#include <application_commands.h>

Data Fields

char * name
 
json_charvalue
 

Detailed Description

Field Documentation

◆ name

char* discord_application_command_option_choice::name

1-100 character choice name

Examples
slash-commands.c.

◆ value

json_char* discord_application_command_option_choice::value

value of the choice, up to 100 characters if string

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

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