A Discord bot library written in C++, with custom asynchronous coroutines.
No Matches
DiscordCoreAPI::ModalResponseData Struct Reference

Button response data. More...

#include <InteractionEntities.hpp>

Public Data Members

Snowflake channelId {}
 The Channel id where it took place.
std::string customId {}
 The customId of the modal component.
std::string customIdSmall {}
 The customId of the particular input.
std::unique_ptr< InteractionDatainteractionData { std::make_unique<InteractionData>() }
 Interaction data.
Snowflake userId {}
 The input value of the modal component.

Member Data Documentation

◆ userId

Snowflake DiscordCoreAPI::ModalResponseData::userId {}

The User id who selected the menu options.

Definition at line 573 of file InteractionEntities.hpp.

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