DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
DiscordCoreAPI::ApplicationCommandOptionChoiceData Class Reference

Data structure representing an ApplicationCommand's option choice. More...

#include <FoundationEntities.hpp>

Public Data Members

std::string name {}
 The name of the current choice.
 
std::unordered_map< std::string, std::string > nameLocalizations {}
 Dictionary with keys in available locales Localization dictionary for the name field.
 
JsonType type {}
 The type of the option.
 
std::string value {}
 The value of the option.
 

The documentation for this class was generated from the following files: