DiscordChannel class
A Discord text channel the bot can post to.
Constructors
Properties
- canPost → bool
-
False when a channel permission in Discord shuts the bot out.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The Discord channel id.
final
- isCurrent → bool
-
Whether this is the channel the account posts to.
final
- name → String
-
The channel name, without the leading
#.final - nsfw → bool
-
Whether the channel is marked age-restricted.
final
- parentId → String?
-
The category the channel sits in.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → int
-
Discord's channel type: 0 text, 5 announcement, 15 forum.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited