Class SocketWebhookUser
Represents a WebSocket-based webhook user.
public class SocketWebhookUser : SocketUser, IWebhookUser, IGuildUser, IUser, ISnowflakeEntity, IEntity<ulong>, IMentionable, IPresence, IVoiceState
- Inheritance
-
SocketWebhookUser
- Implements
- Inherited Members
- Extension Methods
Properties
AvatarId
Gets the identifier of this user's avatar.
public override string AvatarId { get; }
Property Value
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.
Guild
Gets the guild of this webhook.
public SocketGuild Guild { get; }
Property Value
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; }
Property Value
WebhookId
Gets the ID of a webhook.
public ulong WebhookId { get; }