Class SocketGroupUser
Represents a WebSocket-based group user.
Assembly: Discord.Net.WebSocket.dll​
View Source​
public class SocketGroupUser : SocketUser, IGroupUser, IUser, ISnowflakeEntity, IEntity<ulong>, IMentionable, IPresence, IVoiceState
Properties​
Channel​
Gets the group channel of the user.
View Source​
public SocketGroupChannel Channel { get; }
IsBot​
Gets a value that indicates whether this user is identified as a bot.
View Source​
public override bool IsBot { get; }
Username​
Gets the username for this user.
View Source​
public override string Username { get; }
DiscriminatorValue​
Gets the per-username unique ID for this user.
View Source​
public override ushort DiscriminatorValue { get; }
AvatarId​
Gets the identifier of this user's avatar.
View Source​
public override string AvatarId { get; }
IsWebhook​
Gets a value that indicates whether this user is a webhook user.
View Source​
public override bool IsWebhook { get; }
IVoiceState.IsDeafened​
Gets a value that indicates whether this user is deafened by the guild.
View Source​
bool IVoiceState.IsDeafened { get; }
IVoiceState.IsMuted​
Gets a value that indicates whether this user is muted (i.e. not permitted to speak via voice) by the guild.
View Source​
bool IVoiceState.IsMuted { get; }
IVoiceState.IsSelfDeafened​
Gets a value that indicates whether this user has marked themselves as deafened.
View Source​
bool IVoiceState.IsSelfDeafened { get; }
IVoiceState.IsSelfMuted​
Gets a value that indicates whether this user has marked themselves as muted (i.e. not permitted to speak via voice).
View Source​
bool IVoiceState.IsSelfMuted { get; }
IVoiceState.IsSuppressed​
Gets a value that indicates whether the user is muted by the current user.
View Source​
bool IVoiceState.IsSuppressed { get; }
IVoiceState.VoiceChannel​
Gets the voice channel this user is currently in.
View Source​
IVoiceChannel IVoiceState.VoiceChannel { get; }
IVoiceState.VoiceSessionId​
Gets the unique identifier for this user's voice session.
View Source​
string IVoiceState.VoiceSessionId { get; }
IVoiceState.IsStreaming​
Gets a value that indicates if this user is streaming in a voice channel.
View Source​
bool IVoiceState.IsStreaming { get; }
IVoiceState.RequestToSpeakTimestamp​
Gets the time on which the user requested to speak.
View Source​
DateTimeOffset? IVoiceState.RequestToSpeakTimestamp { get; }