![]() |
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 | |
ChannelData | getChannelData () const |
Returns the Channel of this input-event. | |
GuildData | getGuildData () const |
Returns the Guild of this input-event. | |
GuildMemberData | getGuildMemberData () const |
Returns the GuildMember of this input-event. | |
InteractionData | getInteractionData () const |
Returns the Interaction data, if appplicable, of this input-event. | |
MessageData | getMessageData () const |
Returns the Message data, if applicable, of this input-event. | |
UserData | getUserData () const |
Returns the User of this input-event. | |
Public Data Members | |
InputEventResponseType | responseType {} |
The type of response that this input value represents. | |
ChannelData DiscordCoreAPI::InputEventData::getChannelData | ( | ) | const |
Definition at line 3564 of file FoundationEntities.cpp.
GuildData DiscordCoreAPI::InputEventData::getGuildData | ( | ) | const |
Definition at line 3577 of file FoundationEntities.cpp.
GuildMemberData DiscordCoreAPI::InputEventData::getGuildMemberData | ( | ) | const |
Definition at line 3571 of file FoundationEntities.cpp.
InteractionData DiscordCoreAPI::InputEventData::getInteractionData | ( | ) | const |
Definition at line 3584 of file FoundationEntities.cpp.
MessageData DiscordCoreAPI::InputEventData::getMessageData | ( | ) | const |
Definition at line 3588 of file FoundationEntities.cpp.
UserData DiscordCoreAPI::InputEventData::getUserData | ( | ) | const |
Definition at line 3557 of file FoundationEntities.cpp.