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