DummyChannel class

Inheritance

Constructors

DummyChannel(Client client, {required dynamic id})

Properties

channel_type String
The type of channel. Either Group, DirectMessage or SavedMessages.
getter/setter pairinherited
client Client
The Client that created this channel.
getter/setter pairinherited
deleted bool
If the channel has been deleted
getter/setter pairinherited
description String?
The channel description. Only present on TextChannel, VoiceChannel or GroupChannel.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
icon File?
The channel's icon, null if undefined
getter/setter pairinherited
id String
The channel's ID.
getter/setter pairinherited
members Map<String, User>?
All participants in this channel.
getter/setter pairinherited
messages MessageManager
The messages sent in this channel.
getter/setter pairinherited
name String?
The display name of the channel.
getter/setter pairinherited
nonce String?
I have no idea what this is used for.
getter/setter pairinherited
partial bool
Whether the channel is fully fetched. If false, only id is quaranteed to be present.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fetch({bool preferCached = true}) Future<Channel>
Fetch the channel. Disable preferCached to force an API request, even if the channel is already cached.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(dynamic message) Future<void>
inherited
toString() String
A string representation of this object.
inherited

Operators

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