TextBasedChannel class

Inheritance
Implementers

Constructors

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

Properties

flags List<Flag>
Get List of Flag
no setterinherited
guild Guild
Get Guild from Ioc
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id Snowflake
Get id of this
no setterinherited
isNsfw bool
Is channel allow nsfw
no setter
label String
Get GuildChannel label
no setterinherited
lastMessage Message?
Get last Message of this
no setterinherited
messages → MessageManager<Message>
Get MessageManager
no setterinherited
parent GuildChannel?
Get CategoryChannel or TextChannel parent
no setterinherited
permissions → PermissionOverwriteManager?
Get PermissionOverwrite manager
no setterinherited
position int?
Get GuildChannel permission
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ChannelType
Get GuildChannel type
no setterinherited
webhooks → WebhookManager
Access to WebhookManager
no setter

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 nonexistent 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