MemberBuilder class

Implemented types

Constructors

MemberBuilder({Snowflake? channel = const Snowflake.zero(), bool? deaf, bool? mute, String? nick, List<Snowflake>? roles, DateTime? timeoutUntil, MemberFlagsBuilder? flags})

Properties

channel Snowflake?
Id of channel to move user to (if they are connected to voice)
read / write
deaf bool?
Whether the user is deafened in voice channels.
read / write
flags MemberFlagsBuilder?
The flags to add/remove from the member.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
mute bool?
Whether the user is muted in voice channels.
read / write
nick String?
Value to set user's nickname to
read / write
roles List<Snowflake>?
Array of role ids the member is assigned
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
timeoutUntil DateTime?
When the user's timeout will expire and the user will be able to communicate in the guild again (up to 28 days in the future), set to null to remove timeout
read / write

Methods

build() RawApiMap
Returns built response for api
override
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