ThreadChannel class Null safety

Inheritance

Constructors

ThreadChannel(bool _archived, int _autoArchiveDuration, bool _locked, bool? _invitable, String _createdAt, MessageManager<Message> messages, Snowflake? lastMessageId, Snowflake guildId, Snowflake? parentId, String label, int type, int? position, int? flags, PermissionOverwriteManager? permissions, Snowflake id)
ThreadChannel.fromPayload(dynamic payload)
factory

Properties

autoArchiveDuration → AutoArchiveDuration
Duration of live of this
read-only
createdAt DateTime
Get birthday of this
read-only
flags List<Flag>
Get List of Flag
read-only, inherited
guild Guild
Get Guild from Ioc
read-only, inherited
hashCode int
The hash code for this object.
read-only, inherited
id Snowflake
Get id of this
read-only, inherited
isArchived bool
Check if this is archived
read-only
isInvitable bool?
Check if member is allow to add another member
read-only
isLocked bool
This is locked
read-only
label String
Get GuildChannel label
read-only, inherited
lastMessage Message?
Get last Message of this
read-only, inherited
messages → MessageManager<Message>
Get MessageManager
read-only, inherited
parent TextChannel
Get parent of this
read-only, override
permissions → PermissionOverwriteManager?
Get PermissionOverwrite manager
read-only, inherited
position int?
Get GuildChannel permission
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type ChannelType
Get GuildChannel type
read-only, inherited

Methods

createMessageCollector(bool filter(Message message), {int? max, Duration? duration}) MessageCollector
inherited
delete() Future<bool>
Deletes this
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
send({String? content, List<EmbedBuilder>? embeds, List<RowBuilder>? components, bool? tts}) Future<Message?>
Sends a message on this.
inherited
setLabel(String value) Future<void>
inherited
setParent(CategoryChannel channel) Future<void>
inherited
setParentId(Snowflake id) Future<void>
inherited
setPermissionsOverwrite(List<PermissionOverwrite> permissions) Future<void>
inherited
toString() String
A string representation of this object.
inherited
update(ChannelBuilder builder) Future<void>
inherited

Operators

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