Package org.javacord.api.entity.message
Interface MessageActivity
-
public interface MessageActivityThis class represents a MessageActivity like Spotify group listening.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MessagegetMessage()Gets the message of the activity.java.util.Optional<java.lang.String>getPartyId()Gets the party id of the activity.MessageActivityTypegetType()Gets the type of the activity.
-
-
-
Method Detail
-
getType
MessageActivityType getType()
Gets the type of the activity.- Returns:
- The type of the activity.
-
getPartyId
java.util.Optional<java.lang.String> getPartyId()
Gets the party id of the activity.- Returns:
- The party id of the activity.
-
getMessage
Message getMessage()
Gets the message of the activity.- Returns:
- The message of the activity.
-
-