DiscordGuildMember class
Constructors
-
DiscordGuildMember({DiscordUser? user, String? nick, String? avatar, required List<
String> roles, required String joinedAt, required bool deaf, required bool mute, bool? pending, String? permissions, String? communicationDisabledUntil}) -
DiscordGuildMember.fromJson(Map<
String, dynamic> json) -
factory
Properties
- avatar → String?
-
the member's guild avatar hash
final
- communicationDisabledUntil → String?
-
when the user's timeout
will expire and the user will be able to communicate in the guild again,
null or a time in the past if the user is not timed out
final
- communicationDisabledUntilAsDateTime → DateTime?
-
no setter
- deaf → bool
-
whether the user is deafened in voice channels
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- joinedAt → String
-
when the user joined the guild,
as an ISO 8601 string
final
- joinedAtAsDateTime → DateTime
-
no setter
- mute → bool
-
whether the user is muted in voice channels
final
- nick → String?
-
this user's guild nickname
final
- pending → bool?
-
whether the user has not yet passed the guild's Membership Screening requirements
final
- permissions → String?
-
total permissions of the member in the channel, including overwrites,
returned when in the interaction object
final
-
when the user starter boosting the guild
final
-
no setter
-
roles
→ List<
String> -
array of role object ids
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- user → DiscordUser?
-
the user this guild member represents
final
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
Constants
- avatarEntry → const String
- communicationDisabledUntilEntry → const String
- deafEntry → const String
- joinedAtEntry → const String
- muteEntry → const String
- nickEntry → const String
- pendingEntry → const String
- permissionsEntry → const String
- rolesEntry → const String
- userEntry → const String