Class PartialGuildUser
- Namespace
- NetCord
- Assembly
- NetCord.dll
public class PartialGuildUser : User, IEntity, ISpanFormattable, IFormattable, IEquatable<Entity>, IJsonModel<JsonUser>, IJsonModel<JsonGuildUser>
- Inheritance
-
PartialGuildUser
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
PartialGuildUser(JsonGuildUser, RestClient)
public PartialGuildUser(JsonGuildUser jsonModel, RestClient client)
Parameters
jsonModelJsonGuildUserclientRestClient
Properties
Deafened
Whether the user is deafened in voice channels.
public bool Deafened { get; }
Property Value
GuildAvatarDecorationData
Data for the guild user's avatar decoration.
public AvatarDecorationData? GuildAvatarDecorationData { get; }
Property Value
GuildAvatarHash
The user's guild avatar hash.
public string? GuildAvatarHash { get; }
Property Value
GuildBannerHash
The user's guild banner hash.
public string? GuildBannerHash { get; }
Property Value
GuildBoostStart
When the user started boosting the guild. null if the user has never boosted.
public DateTimeOffset? GuildBoostStart { get; }
Property Value
GuildFlags
The user's current GuildUserFlags.
public GuildUserFlags GuildFlags { get; }
Property Value
HasGuildAvatar
Whether the user has a guild avatar set.
public bool HasGuildAvatar { get; }
Property Value
HasGuildAvatarDecoration
Whether the user has a set avatar decoration.
public bool HasGuildAvatarDecoration { get; }
Property Value
HasGuildBanner
Whether the user has a guild banner set.
public bool HasGuildBanner { get; }
Property Value
IsPending
Whether the user has passed the guild's Membership Screening requirements.
public bool? IsPending { get; }
Property Value
- bool?
JoinedAt
When the user joined the guild.
public DateTimeOffset? JoinedAt { get; }
Property Value
Muted
Whether the user is muted in voice channels.
public bool Muted { get; }
Property Value
Nickname
The user's guild nickname.
public string? Nickname { get; }
Property Value
RoleIds
A list of ulong IDs representing the user's current roles.
public IReadOnlyList<ulong> RoleIds { get; }
Property Value
Remarks
It is possible for this list to contain IDs of roles that no longer exist.
TimeOutUntil
When the user's current timeout will expire, allowing them to communicate in the guild again. null or a time in the past if the user is not currently timed out.
public DateTimeOffset? TimeOutUntil { get; }
Property Value
Methods
GetGuildAvatarDecorationUrl()
Gets the ImageUrl of the user's guild avatar decoration.
public ImageUrl? GetGuildAvatarDecorationUrl()