Package net.dv8tion.jda.api.entities
Class MessageActivity.Application
java.lang.Object
net.dv8tion.jda.api.entities.MessageActivity.Application
- All Implemented Interfaces:
ISnowflake
- Enclosing class:
- MessageActivity
Represents the
Application
of a MessageActivity, if it has been set.-
Constructor Summary
ConstructorDescriptionApplication
(String name, String description, String iconId, String coverId, long id) -
Method Summary
Modifier and TypeMethodDescriptionThe cover aka splash id of this Application.The url of the cover image for this application.A short description of this Application.The icon id of this Application.The url of the icon image for this application.long
The Snowflake id of this entity.getName()
The name of this Application.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getTimeCreated
-
Constructor Details
-
Application
-
-
Method Details
-
getName
The name of this Application.- Returns:
- the applications name
-
getDescription
A short description of this Application.- Returns:
- the applications description
-
getIconId
The icon id of this Application.- Returns:
- the applications icon id
-
getIconUrl
The url of the icon image for this application.- Returns:
- the url of the icon
-
getCoverId
The cover aka splash id of this Application.- Returns:
- the applications cover image/id
-
getCoverUrl
The url of the cover image for this application.- Returns:
- the url of the cover/splash
-
getIdLong
public long getIdLong()Description copied from interface:ISnowflake
The Snowflake id of this entity. This is unique to every entity and will never change.- Specified by:
getIdLong
in interfaceISnowflake
- Returns:
- Long containing the Id.
-