Class DiscordGuildMemberData
Represents a discord Guild Member Structure API model. Docs: https://discord.com/developers/docs/resources/guild#guild-member-object-guild-member-structure
Implements
Inherited Members
Namespace: Color_Chan.Discord.Core.Common.API.DataModels.Guild
Assembly: Color-Chan.Discord.Core.dll
Syntax
public class DiscordGuildMemberData : IEquatable<DiscordGuildMemberData>
Properties
| Improve this Doc View SourceCommunicationDisabledUntil
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.
Declaration
[JsonPropertyName("communication_disabled_until")]
public DateTimeOffset? CommunicationDisabledUntil { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTimeOffset> |
Deaf
Whether the user is deafened in voice channels.
Declaration
[JsonPropertyName("deaf")]
public bool Deaf { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
JoinedAt
When the user joined the guild.
Declaration
[JsonPropertyName("joined_at")]
public DateTimeOffset JoinedAt { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset |
Mute
Whether the user is muted in voice channels.
Declaration
[JsonPropertyName("mute")]
public bool Mute { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
NickName
This users guild nickname.
Declaration
[JsonPropertyName("nick")]
public string NickName { get; set; }
Property Value
Type | Description |
---|---|
String |
Pending
Whether the user has not yet passed the guild's Membership Screening requirements.
Declaration
[JsonPropertyName("pending")]
public bool? Pending { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Boolean> |
Permissions
Total permissions of the member in the channel, including overwrites, returned when in the interaction object.
Declaration
[JsonPropertyName("permissions")]
public DiscordPermission? Permissions { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DiscordPermission> |
PremiumSince
When the user started boosting the guild.
Declaration
[JsonPropertyName("premium_since")]
public DateTimeOffset? PremiumSince { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTimeOffset> |
Roles
A list of role ids that are assigned the this guild member.
Declaration
[JsonPropertyName("roles")]
public IEnumerable<ulong> Roles { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.UInt64> |
User
The user this guild member represents.
Declaration
[JsonPropertyName("user")]
public DiscordUserData User { get; set; }
Property Value
Type | Description |
---|---|
DiscordUserData |