ChannelBuilder class
A builder for channel Class.
Constructors
-
ChannelBuilder(Map<
String, dynamic> payload) -
ChannelBuilder.fromCategoryChannel({String? label, int? position, List<
PermissionOverwrite> ? permissions}) -
factory
-
ChannelBuilder.fromForumChannel({required String label, String? guidelines, Snowflake? parentId, List<
ForumTagBuilder> ? tags}) -
factory
-
ChannelBuilder.fromTextChannel({String? label, String? description, Snowflake? parentId, int? position, List<
PermissionOverwrite> ? permissions, bool? nsfw, int? rateLimitPerUser}) -
factory
-
ChannelBuilder.fromVoiceChannel({String? label, Snowflake? parentId, int? position, List<
PermissionOverwrite> ? permissions, bool? nsfw, int? bitrate, int? userLimit, String? rtcRegion, int? videoQualityMode}) -
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited