TextBasedChannel class Null safety

Inheritance
Implementers

Constructors

TextBasedChannel(bool _nsfw, WebhookManager _webhooks, MessageManager messages, Snowflake? lastMessageId, Snowflake guildId, Snowflake? parentId, String label, int type, int? position, int? flags, PermissionOverwriteManager? permissions, Snowflake id)

Properties

console ConsoleContract
read-only, inherited
container Ioc
Service manager including the core components of the Mineral framework
read-only, inherited
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
label String
Get GuildChannel label
read-only, inherited
lastMessage Message?
Get last Message of this
read-only, inherited
messages → MessageManager
Get MessageManager
read-only, inherited
parent GuildChannel?
Get CategoryChannel or TextChannel parent
read-only, inherited
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
webhooks → WebhookManager
Access to WebhookManager
read-only

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
setNsfw(bool value) Future<void>
Allow or disallow nsfw of this
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