Class SocketSelfUser
Represents the logged-in WebSocket-based user.
Inheritance
SocketSelfUser
Assembly: Discord.Net.WebSocket.dll
Syntax
public class SocketSelfUser : SocketUser, IEntity<ulong>, ISelfUser, IUser, ISnowflakeEntity, IEntity<ulong>, IMentionable, IPresence
Properties
|
Improve this Doc
View Source
AvatarId
Declaration
public override string AvatarId { get; }
Property Value
Overrides
|
Improve this Doc
View Source
DiscriminatorValue
Declaration
public override ushort DiscriminatorValue { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Email
Declaration
public string Email { get; }
Property Value
|
Improve this Doc
View Source
Flags
Gets the flags that are applied to a user's account.
Declaration
public UserProperties Flags { get; }
Property Value
|
Improve this Doc
View Source
GlobalName
Declaration
public override string GlobalName { get; }
Property Value
Overrides
|
Improve this Doc
View Source
IsBot
Declaration
public override bool IsBot { get; }
Property Value
Overrides
|
Improve this Doc
View Source
IsMfaEnabled
Declaration
public bool IsMfaEnabled { get; }
Property Value
|
Improve this Doc
View Source
IsVerified
Declaration
public bool IsVerified { get; }
Property Value
|
Improve this Doc
View Source
IsWebhook
Declaration
public override bool IsWebhook { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Locale
Declaration
public string Locale { get; }
Property Value
|
Improve this Doc
View Source
PremiumType
Gets the type of Nitro subscription that is active on this user's account.
Declaration
public PremiumType PremiumType { get; }
Property Value
Type |
Description |
PremiumType |
The type of Nitro subscription the user subscribes to, if any.
|
|
Improve this Doc
View Source
Username
Declaration
public override string Username { get; }
Property Value
Overrides
Methods
|
Improve this Doc
View Source
ModifyAsync(Action<SelfUserProperties>, RequestOptions)
Declaration
public Task ModifyAsync(Action<SelfUserProperties> func, RequestOptions options = null)
Parameters
Returns
Implements