Package net.dv8tion.jda.core.entities
Entities representing Discord API objects like Users and Channels
This package contains all Discord Entities as java classes. They contain information about the specific entity and have operations to interact with them.
The EntityBuilder
can be used
to create entities from this package by creating entities.impl
instances
for the specific entity.
-
Interface Summary Interface Description AudioChannel Represents a channel that is able to transmit and receive audio.Category Represents a channel category in the official Discord API.Channel Represents aGuild
channel.Emote Represents a Custom Emote.Guild Represents a DiscordGuild
.GuildVoiceState IFakeable Marks a fakeable entity.IMentionable Marks a mentionable entity.Invite Representation of a Discord Invite.Invite.Channel POJO for the channel information provided by an invite.Invite.Group POJO for the group information provided by an invite.Invite.Guild POJO for the guild information provided by an invite.IPermissionHolder Marker for entities that hold Permissions within JDAISnowflake Marks a snowflake entity.ListedEmote Represents an emote retrieved fromGuild.retrieveEmotes()
orGuild.retrieveEmoteById(long)
Member Represents a Guild-specific User.Message Represents a Text message received from Discord.MessageChannel Represents a Discord channel that can haveMessages
and files sent to it.PermissionOverride PrivateChannel Represents the connection used for direct messaging.Role Represents aGuild
's Role.SelfUser Represents the currently logged in account.TextChannel Represents a Discord Text Channel.User Represents a Discord User.VoiceChannel Represents a Discord Voice Channel.VoiceState Webhook An object representing Webhooks in Discord -
Class Summary Class Description Game Represents a DiscordGame
.Guild.Ban Represents a Ban object.Icon Icon containing a base64 encoded jpeg/png/gif/gifv image.Message.Attachment Represents aMessage
file attachment.MessageEmbed Represents an embed displayed by Discord.MessageEmbed.AuthorInfo Class that represents the author of content, possibly including an icon that Discord proxies.MessageEmbed.Field Represents a field in an embed.MessageEmbed.Footer Class that represents a footer at the bottom of an embedMessageEmbed.ImageInfo Represents the information provided to embed an image.MessageEmbed.Provider Multipurpose class that represents a provider of content, whether directly through creation or indirectly through hosting.MessageEmbed.Thumbnail Represents the information Discord provided about a thumbnail image that should be displayed with an embed message.MessageEmbed.VideoInfo Represents the information provided to embed a video.MessageHistory Represents an access point to theMessage
history of aMessageChannel
.MessageHistory.MessageRetrieveAction Constructs a MessageHistory object with initially retrieved Messages before or after a certain pivot message id.MessageReaction An object representing a single MessageReaction from Discord.MessageReaction.ReactionEmote Represents an Emoji/Emote of a MessageReaction
This is used to wrap both emojis and emotesRichPresence Used to hold additional information about a usersGame
relevant to Rich Presence.RichPresence.Party Holds information on a player's partyRichPresence.Timestamps Represents the start and end timestamps for a running match -
Enum Summary Enum Description ActivityFlag Enum representing the flags in aRichPresence
ChannelType Enum used to differentiate between the different types of Discord channels.EmbedType Represents the embedded resource type.Game.GameType The type game being played, differentiating between a game and stream types.Guild.ExplicitContentLevel The Explicit-Content-Filter Level of a Guild.Guild.MFALevel Represents the Multifactor Authentication level required by the Guild.Guild.NotificationLevel Represents the Notification-level of the Guild.Guild.Timeout Represents the idle time allowed until a user is moved to the AFKVoiceChannel
if one is set (Guild.getAfkChannel()
).Guild.VerificationLevel Represents the Verification-Level of the Guild.Invite.InviteType Enum representing the type of an invite.Message.MentionType Mention formatting constants, useful for use withPatterns
MessageType Represents the different types ofMessages
that can be received from Discord.