Class SocketGroupUser
Represents a WebSocket-based group user.
public class SocketGroupUser : SocketUser, IGroupUser, IUser, ISnowflakeEntity, IEntity<ulong>, IMentionable, IPresence, IVoiceState
- Inheritance
-
SocketGroupUser
- Implements
- Inherited Members
- Extension Methods
Properties
AvatarId
Gets the identifier of this user's avatar.
public override string AvatarId { get; }
Property Value
Channel
Gets the group channel of the user.
public SocketGroupChannel Channel { get; }
Property Value
- SocketGroupChannel
A SocketGroupChannel representing the channel of which the user belongs to.
DiscriminatorValue
Gets the per-username unique ID for this user. This will return 0 for users who have migrated to new username system.
public override ushort DiscriminatorValue { get; }
Property Value
GlobalName
Gets the user's display name, if it is set. For bots, this will get the application name.
public override string GlobalName { get; }
Property Value
Remarks
This property will be null if user has no display name set.
IsBot
Gets a value that indicates whether this user is identified as a bot.
public override bool IsBot { get; }
Property Value
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.
public override bool IsWebhook { get; }
Property Value
Username
Gets the username for this user.
public override string Username { get; }