TextChannel class Null safety

Inheritance

Constructors

TextChannel(String? _description, String? _lastPinTime, int _rateLimit, ThreadManager _threads, bool nsfw, WebhookManager webhooks, MessageManager messages, Snowflake? lastMessageId, Snowflake guildId, Snowflake? parentId, String label, int type, int? position, int? flags, PermissionOverwriteManager? permissions, Snowflake id)
TextChannel.fromPayload(dynamic payload)
factory

Properties

console ConsoleContract
read-only, inherited
container Ioc
Service manager including the core components of the Mineral framework
read-only, inherited
description String?
Get description 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
isNsfw bool
Is channel allow nsfw
read-only, inherited
label String
Get GuildChannel label
read-only, inherited
lastMessage Message?
Get last Message of this
read-only, inherited
lastPinTime DateTime?
Get last pinned DateTime
read-only
messages → MessageManager
Get MessageManager
read-only, inherited
parent CategoryChannel?
Get CategoryChannel or TextChannel parent
read-only, override
permissions → PermissionOverwriteManager?
Get PermissionOverwrite manager
read-only, inherited
position int?
Get GuildChannel permission
read-only, inherited
rateLimit int
Get rate limit
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
threads → ThreadManager
Access to ThreadManager
read-only
type ChannelType
Get GuildChannel type
read-only, inherited
webhooks → WebhookManager
Access to WebhookManager
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
setDescription(String value) Future<void>
Define the description if this
setLabel(String value) Future<void>
inherited
setNsfw(bool value) Future<void>
Allow or disallow nsfw of this
inherited
setParent(CategoryChannel channel) Future<void>
inherited
setParentId(Snowflake id) Future<void>
inherited
setPermissionsOverwrite(List<PermissionOverwrite> permissions) Future<void>
inherited
setRateLimit(int limit) Future<void>
Define the rate limit of this
toString() String
A string representation of this object.
inherited
update(ChannelBuilder builder) Future<void>
inherited

Operators

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