TextChannelBuilder class Null safety

Inheritance

Constructors

TextChannelBuilder()
TextChannelBuilder.create(String name)
factory

Properties

hashCode int
The hash code for this object.
read-only, inherited
id Snowflake?
Id of the channel. When using the channels parameter on GuildBuilder, this field within each channel object may be set to an integer placeholder, and will be replaced by the API upon consumption. Its purpose is to allow you to create GUILD_CATEGORY channels by setting the parentChannel.id field on any children to the category's id field. Category channels must be listed before any children.
read / write, inherited
name String?
Name of the channel (1-100 characters)
read / write, inherited
nsfw bool?
Whether the channel is nsfw
read / write
parentChannel SnowflakeEntity?
Id of the parent category for a channel
read / write, inherited
permissionOverrides List<PermissionOverrideBuilder>?
The channel's permission overwrites
read / write, inherited
position int?
Sorting position of the channel
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
topic String?
Channel topic (0-1024 characters)
read / write
type ChannelType?
Type of channel
read / write, override

Methods

build() RawApiMap
Returns built response for api
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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