Package org.javacord.api.entity.activity
Interface ActivityParty
-
public interface ActivityPartyThis class represents an activity party.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<java.lang.Integer>getCurrentSize()Gets the current size of the party.java.util.Optional<java.lang.String>getId()Gets the id of the party.java.util.Optional<java.lang.Integer>getMaximumSize()Gets the maximum size of the party.
-
-
-
Method Detail
-
getId
java.util.Optional<java.lang.String> getId()
Gets the id of the party. This is not normal discord snowflake id!- Returns:
- The id of the party.
-
getCurrentSize
java.util.Optional<java.lang.Integer> getCurrentSize()
Gets the current size of the party.- Returns:
- The current size of the party.
-
getMaximumSize
java.util.Optional<java.lang.Integer> getMaximumSize()
Gets the maximum size of the party.- Returns:
- The maximum size of the party.
-
-