Package net.dv8tion.jda.api.entities
Enum ChannelField
- All Implemented Interfaces:
Serializable
,Comparable<ChannelField>
This enum represents the attributes of a channel that can be modified by events.
Most of these changes are tracked and reflected by
Values of this enum without an
Most of these changes are tracked and reflected by
Audit Log Entries
.
Values of this enum without an
AuditLogKey
are not tracked by the Audit Log.- See Also:
-
Enum Constant Summary
Enum ConstantDescriptionThe archive state of this channel.The time this channel's archival information was last updated.The auto archive duration of this channel.The bitrate (in bits per second) of the audio in this channel.The invite state of this channel.The locked state of this channel.The name of the channel.The NSFW state of the channel.Theparent
of the channel.The position of this channel relative to other channels in the guild.The region of the channel.The state of slow mode in the channel.The topic of the channel.Thetype
of the channel.The maximum user count of this channel. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static ChannelField
Returns the enum constant of this type with the specified name.static ChannelField[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TYPE
Thetype
of the channel.- See Also:
-
NAME
The name of the channel.- See Also:
-
PARENT
Theparent
of the channel. Limited toCategorizable Channels
(and implementations). -
POSITION
The position of this channel relative to other channels in the guild.- See Also:
-
TOPIC
The topic of the channel. Limited toNewsChannels
andTextChannels
.- See Also:
-
NSFW
The NSFW state of the channel. Limited toBase Guild Channels
(and implementations).- See Also:
-
SLOWMODE
The state of slow mode in the channel. This defines the minimum time between message sends. Limited toText Channels
.- See Also:
-
BITRATE
The bitrate (in bits per second) of the audio in this channel. For standard channels this is between 8000 and 96000. VIP servers extend this limit to 128000.
The bitrates of boost tiers may be found inthe boost tiers
. Limited toAudio Channels
.- See Also:
-
REGION
The region of the channel. Limited toAudio Channels
.- See Also:
-
USER_LIMIT
The maximum user count of this channel. Limited toVoice Channels
.- See Also:
-
AUTO_ARCHIVE_DURATION
The auto archive duration of this channel. If the thread is inactive for this long, it becomes auto-archived. Limited toThread Channels
. -
ARCHIVED
The archive state of this channel. If the channel is archived, this is true. Limited toThread Channels
.- See Also:
-
ARCHIVED_TIMESTAMP
The time this channel's archival information was last updated. This timestamp will be updated when any of the following happen:- The channel is archived
- The channel is unarchived
- The AUTO_ARCHIVE_DURATION is changed.
Thread Channels
. -
LOCKED
The locked state of this channel. If the channel is locked, this is true. Limited toThread Channels
.- See Also:
-
INVITABLE
The invite state of this channel. If the channel is invitable, this is true. Limited toThread Channels
.- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getFieldName
-
getAuditLogKey
-
toString
- Overrides:
toString
in classEnum<ChannelField>
-