GroupDmChannel class

A DM channel with multiple recipients.

Inheritance

Properties

application PartialApplication?
The application that created this channel, if it was created by an application.
no setter
applicationId Snowflake?
The ID of the application which created this channel, if it was created by an application.
final
hashCode int
The hash code for this object.
no setterinherited
iconHash String?
The hash of this channel's icon.
final
id Snowflake
The id of this entity.
finalinherited
isManaged bool
Whether this channel is managed.
final
lastMessage PartialMessage?
The last message sent in this channel, or null if no messages have been sent.
no setteroverride
lastMessageId Snowflake?
The ID of the last Message snt in this channel, or null if no messages have been sent.
final
lastPinTimestamp DateTime?
The time at which the last message was pinned, or null if no messages have been pinned.
final
manager ChannelManager
The manager for this entity.
finalinherited
messages MessageManager
A Manager for the Messages of this channel.
no setterinherited
name String
The name of this channel.
final
owner PartialUser
This channel's owner.
no setter
ownerId Snowflake
The ID of this channel's owner.
final
rateLimitPerUser Duration?
The rate limit duration per user.
final
recipients List<User>
The recipients of this channel.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ChannelType
The type of this channel.
no setteroverride

Methods

defaultToString() String
Same as toString, but only called when dart:mirrors is not available.
inherited
delete({String? auditLogReason}) Future<void>
Delete this channel.
inherited
fetch() Future<Channel>
Fetch this entity from the API.
inherited
follow(Snowflake id) Future<void>
Follow another channel's announcement messages in this channel.
inherited
get() Future<Channel>
If this entity exists in the manager's cache, return the cached instance. Otherwise, fetch this entity and return it.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendMessage(MessageBuilder builder) Future<Message>
Send a message to this channel.
inherited
toString() String
A string representation of this object.
inherited
triggerTyping() Future<void>
Trigger a typing indicator in this channel from the current user.
inherited
update(UpdateBuilder<Channel> builder) Future<Channel>
Update this channel.
inherited

Operators

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