Package net.dv8tion.jda.api.entities
Class MessageActivity
java.lang.Object
net.dv8tion.jda.api.entities.MessageActivity
Represents a
Message
activity.- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
An enum representingMessageActivity
types.static class
Represents theApplication
of a MessageActivity, if it has been set. -
Constructor Summary
ConstructorDescriptionMessageActivity
(MessageActivity.ActivityType type, String partyId, MessageActivity.Application application) -
Method Summary
Modifier and TypeMethodDescriptionTheApplication
thisMessageActivity
may have.The party id discord uses internally, it may benull
.getType()
The currentActivityType
-
Constructor Details
-
MessageActivity
public MessageActivity(MessageActivity.ActivityType type, String partyId, MessageActivity.Application application)
-
-
Method Details
-
getType
The currentActivityType
- Returns:
- the type of the activity, or
UNKNOWN
-
getPartyId
The party id discord uses internally, it may benull
.- Returns:
- Possibly-null party id
-
getApplication
TheApplication
thisMessageActivity
may have.- Returns:
- A possibly-null
MessageActivity.Application
-