Package discord4j.core.object.entity
Interface Entity
-
- All Superinterfaces:
DiscordObject
- All Known Subinterfaces:
CategorizableChannel,Channel,GuildChannel,GuildMessageChannel,MessageChannel,TopLevelGuildChannel,TopLevelGuildMessageChannel
- All Known Implementing Classes:
ApplicationInfo,ApplicationTeam,Attachment,AuditLogEntry,Category,Guild,GuildEmoji,Integration,IntegrationApplication,Member,Message,NewsChannel,PartialMember,PrivateChannel,Role,Sticker,StoreChannel,TextChannel,User,VoiceChannel,Webhook
public interface Entity extends DiscordObject
An uniquely identifiable object bySnowflake.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SnowflakegetId()Gets the Snowflake that uniquely identifies this entity.-
Methods inherited from interface discord4j.core.object.DiscordObject
getClient
-
-
-
-
Method Detail
-
getId
Snowflake getId()
Gets the Snowflake that uniquely identifies this entity.- Returns:
- The Snowflake that uniquely identifies this entity.
-
-