Class SocketGroupUser
Implements
Inherited Members
Namespace: Discord.WebSocket
Assembly: Discord.Net.WebSocket.dll
Syntax
public class SocketGroupUser : SocketUser, IGroupUser, IUser, ISnowflakeEntity, IEntity<ulong>, IMentionable, IPresence, IVoiceState
Properties
| Improve this Doc View SourceAvatarId
Gets the identifier of this user's avatar.
Declaration
public override string AvatarId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
| Improve this Doc View SourceChannel
Gets the group channel of the user.
Declaration
public SocketGroupChannel Channel { get; }
Property Value
| Type | Description |
|---|---|
| SocketGroupChannel | A SocketGroupChannel representing the channel of which the user belongs to. |
DiscriminatorValue
Gets the per-username unique ID for this user.
Declaration
public override ushort DiscriminatorValue { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt16 |
Overrides
| Improve this Doc View SourceIsBot
Gets a value that indicates whether this user is identified as a bot.
Declaration
public override bool IsBot { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
Overrides
Remarks
This property retrieves a value that indicates whether this user is a registered bot application (indicated by the blue BOT tag within the official chat client).
IsWebhook
Gets a value that indicates whether this user is a webhook user.
Declaration
public override bool IsWebhook { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
Overrides
| Improve this Doc View SourceUsername
Gets the username for this user.
Declaration
public override string Username { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Explicit Interface Implementations
| Improve this Doc View SourceIVoiceState.IsDeafened
Gets a value that indicates whether this user is deafened by the guild.
Declaration
bool IVoiceState.IsDeafened { get; }
Returns
| Type | Description |
|---|---|
| System.Boolean |
|
IVoiceState.IsMuted
Gets a value that indicates whether this user is muted (i.e. not permitted to speak via voice) by the guild.
Declaration
bool IVoiceState.IsMuted { get; }
Returns
| Type | Description |
|---|---|
| System.Boolean |
|
IVoiceState.IsSelfDeafened
Gets a value that indicates whether this user has marked themselves as deafened.
Declaration
bool IVoiceState.IsSelfDeafened { get; }
Returns
| Type | Description |
|---|---|
| System.Boolean |
|
IVoiceState.IsSelfMuted
Gets a value that indicates whether this user has marked themselves as muted (i.e. not permitted to speak via voice).
Declaration
bool IVoiceState.IsSelfMuted { get; }
Returns
| Type | Description |
|---|---|
| System.Boolean |
|
IVoiceState.IsStreaming
Gets a value that indicates if this user is streaming in a voice channel.
Declaration
bool IVoiceState.IsStreaming { get; }
Returns
| Type | Description |
|---|---|
| System.Boolean |
|
IVoiceState.IsSuppressed
Gets a value that indicates whether the user is muted by the current user.
Declaration
bool IVoiceState.IsSuppressed { get; }
Returns
| Type | Description |
|---|---|
| System.Boolean |
|
IVoiceState.VoiceChannel
Gets the voice channel this user is currently in.
Declaration
IVoiceChannel IVoiceState.VoiceChannel { get; }
Returns
| Type | Description |
|---|---|
| IVoiceChannel | A generic voice channel object representing the voice channel that the user is currently in; |
IVoiceState.VoiceSessionId
Gets the unique identifier for this user's voice session.
Declaration
string IVoiceState.VoiceSessionId { get; }
Returns
| Type | Description |
|---|---|
| System.String |