Package org.javacord.api.interaction
Interface InteractionSlashCommandCallbackData
-
public interface InteractionSlashCommandCallbackData
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<AllowedMentions>getAllowedMentions()Gets a list with all allowed mentions.StringgetContent()Gets the message content.List<Embed>getEmbeds()Gets a list with all embeds.Optional<Boolean>isTts()Checks whether or not the response is text to speech.
-
-
-
Method Detail
-
isTts
Optional<Boolean> isTts()
Checks whether or not the response is text to speech.- Returns:
- Whether or not the response is text to speech.
-
getContent
String getContent()
Gets the message content.- Returns:
- The message content.
-
getAllowedMentions
List<AllowedMentions> getAllowedMentions()
Gets a list with all allowed mentions.- Returns:
- A list with all allowed mentions.
-
-