IChannel class abstract
A channel. Abstract base class that defines the base methods and/or properties for all Discord channel types. Generic interface for all channels
- Inheritance
-
- Object
- SnowflakeEntity
- IChannel
- Implemented types
- Implementers
Properties
- channelType ↔ ChannelType
-
Type of this channel
latefinal
- client → INyxx
-
Reference to client
final
- createdAt → DateTime
-
Gets creation timestamp included in Snowflake
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → Snowflake
-
ID of entity as Snowflake
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
delete(
) → Future< void> - Deletes channel if guild channel or closes DM if DM channel
-
dispose(
) → Future< void> -
Perform cleanup
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator.
inherited