Class InteractionApplicationCommandCallbackDataImpl
java.lang.Object
com.mewna.catnip.entity.impl.interaction.command.InteractionApplicationCommandCallbackDataImpl
- All Implemented Interfaces:
InteractionApplicationCommandCallbackData
public class InteractionApplicationCommandCallbackDataImpl
extends Object
implements InteractionApplicationCommandCallbackData
- Since:
- 12/10/20.
- Author:
- amy
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionInteractionApplicationCommandCallbackDataImpl
(boolean tts, String content, List<Embed> embeds, Set<MentionParseFlag> allowedMentions, Set<MessageFlag> flags) -
Method Summary
Modifier and TypeMethodDescriptionallowedMentions
(Set<MentionParseFlag> allowedMentions) static InteractionApplicationCommandCallbackDataImpl.InteractionApplicationCommandCallbackDataImplBuilder
builder()
content()
embeds()
flags()
flags
(Set<MessageFlag> flags) boolean
tts()
tts
(boolean tts) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mewna.catnip.entity.interaction.command.InteractionApplicationCommandCallbackData
toJson
-
Constructor Details
-
InteractionApplicationCommandCallbackDataImpl
public InteractionApplicationCommandCallbackDataImpl() -
InteractionApplicationCommandCallbackDataImpl
public InteractionApplicationCommandCallbackDataImpl(boolean tts, String content, List<Embed> embeds, Set<MentionParseFlag> allowedMentions, Set<MessageFlag> flags)
-
-
Method Details
-
builder
-
tts
public boolean tts()- Specified by:
tts
in interfaceInteractionApplicationCommandCallbackData
-
content
- Specified by:
content
in interfaceInteractionApplicationCommandCallbackData
-
embeds
- Specified by:
embeds
in interfaceInteractionApplicationCommandCallbackData
-
allowedMentions
- Specified by:
allowedMentions
in interfaceInteractionApplicationCommandCallbackData
-
flags
- Specified by:
flags
in interfaceInteractionApplicationCommandCallbackData
-
tts
- Returns:
this
.
-
content
- Returns:
this
.
-
embeds
- Returns:
this
.
-
allowedMentions
public InteractionApplicationCommandCallbackDataImpl allowedMentions(Set<MentionParseFlag> allowedMentions) - Returns:
this
.
-
flags
- Returns:
this
.
-