DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
Data representing an input-event, which is any message or interaction that is coming into the bot as an input. More...
#include <FoundationEntities.hpp>
Public Member Functions | |
const channel_data & | getChannelData () const |
Returns the channel_data of this input-event. More... | |
const guild_member_data & | getGuildMemberData () const |
Returns the guild_member_data of this input-event. More... | |
const interaction_data & | getInteractionData () const |
Returns the interaction data, if appplicable, of this input-event. More... | |
const message_data & | getMessageData () const |
Returns the message data, if applicable, of this input-event. More... | |
const user_data & | getUserData () const |
Returns the user_data of this input-event. More... | |
Public Data Members | |
input_event_response_type | responseType {} |
The type of response that this input value represents. | |
const channel_data & discord_core_api::input_event_data::getChannelData | ( | ) | const |
Definition at line 491 of file FoundationEntities.cpp.
const guild_member_data & discord_core_api::input_event_data::getGuildMemberData | ( | ) | const |
Definition at line 495 of file FoundationEntities.cpp.
const interaction_data & discord_core_api::input_event_data::getInteractionData | ( | ) | const |
Definition at line 720 of file FoundationEntities.cpp.
const message_data & discord_core_api::input_event_data::getMessageData | ( | ) | const |
Definition at line 724 of file FoundationEntities.cpp.
const user_data & discord_core_api::input_event_data::getUserData | ( | ) | const |