Package discord4j.core.object.entity
Interface Entity
- All Superinterfaces:
DiscordObject
- All Known Subinterfaces:
AudioChannel
,CategorizableChannel
,Channel
,GuildChannel
,GuildMessageChannel
,MessageChannel
,TopLevelGuildChannel
,TopLevelGuildMessageChannel
- All Known Implementing Classes:
ApplicationInfo
,ApplicationTeam
,Attachment
,AuditLogEntry
,AutoModRule
,Category
,Guild
,GuildEmoji
,GuildSticker
,Integration
,IntegrationApplication
,Member
,Message
,NewsChannel
,PartialMember
,PartialSticker
,PrivateChannel
,Role
,StageChannel
,StageInstance
,Sticker
,StoreChannel
,TextChannel
,ThreadChannel
,UnknownChannel
,User
,VoiceChannel
,Webhook
An uniquely identifiable object by
Snowflake
.-
Method Summary
Methods inherited from interface discord4j.core.object.DiscordObject
getClient
-
Method Details
-
getId
Snowflake getId()Gets the Snowflake that uniquely identifies this entity.- Returns:
- The Snowflake that uniquely identifies this entity.
-