SleepyDiscord::Interaction::Response
Inherits from SleepyDiscord::DiscordObject
Detailed Description​
template <InteractionCallbackType _type =InteractionCallbackType::ChannelMessageWithSource>
struct SleepyDiscord::Interaction::Response;
Public Types Documentation​
using Type​
using SleepyDiscord::Interaction::Response< _type >::Type = CallbackType;
using DataType​
using SleepyDiscord::Interaction::Response< _type >::DataType = typename InteractionCallbackTypeHelper<_type>::Type;
Public Functions Documentation​
function Response​
Response() =default
function Response​
inline Response(
json::Value & json
)
function Response​
inline Response(
const nonstd::string_view & json
)
function std::make_tuple​
JSONStructStart std::make_tuple(
json::pair< json::EnumTypeHelper > &::< >::, "", ::REQUIRIED_FIELD ,
json::pair &::< >::, "", ::OPTIONAL_FIELD
)
Public Attributes Documentation​
variable type​
Type type = _type;
variable data​
DataType data;
Updated on 13 April 2022 at 18:39:59 UTC