Channel class

A channel. Abstract base class that defines the base methods and/or properties for all Discord channel types.

Inheritance
Implementers

Properties

client Nyxx
Reference to client instance
final
createdAt DateTime
Gets creation timestamp included in Snowflake
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
id Snowflake
ID of entity as Snowflake
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type ChannelType
The channel's type. https://discordapp.com/developers/docs/resources/channel#channel-object-channel-types
final

Methods

delete({String auditReason}) Future<void>
Deletes the channel. Throws if bot cannot perform operation
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited