ChannelBuilder 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

hashCode int
The hash code for this object.
no setterinherited
payload Map<String, dynamic>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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