Package org.javacord.api.entity.activity
Interface ActivitySecrets
-
public interface ActivitySecrets
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<java.lang.String>getJoin()Gets the secret for joining a party.java.util.Optional<java.lang.String>getMatch()Gets the secret for a specific instanced match.java.util.Optional<java.lang.String>getSpectate()Gets the secret for spectating a party.
-
-
-
Method Detail
-
getJoin
java.util.Optional<java.lang.String> getJoin()
Gets the secret for joining a party.- Returns:
- The secret for joining a party.
-
getSpectate
java.util.Optional<java.lang.String> getSpectate()
Gets the secret for spectating a party.- Returns:
- The secret for spectating a party.
-
getMatch
java.util.Optional<java.lang.String> getMatch()
Gets the secret for a specific instanced match.- Returns:
- The secret for a specific instanced match.
-
-