Class SocketSelfUser
Represents the logged-in WebSocket-based user.
Inheritance
System.Object
SocketSelfUser
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Discord.Net.WebSocket.dll
Syntax
public class SocketSelfUser : SocketUser, ISelfUser, IUser, ISnowflakeEntity, IEntity<ulong>, IMentionable, IPresence
Properties
|
Improve this Doc
View Source
AvatarId
Declaration
public override string AvatarId { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
|
Improve this Doc
View Source
DiscriminatorValue
Declaration
public override ushort DiscriminatorValue { get; }
Property Value
| Type |
Description |
| System.UInt16 |
|
Overrides
|
Improve this Doc
View Source
Email
Declaration
public string Email { get; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Flags
Declaration
public UserProperties Flags { get; }
Property Value
|
Improve this Doc
View Source
IsBot
Declaration
public override bool IsBot { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Overrides
|
Improve this Doc
View Source
IsMfaEnabled
Declaration
public bool IsMfaEnabled { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IsVerified
Declaration
public bool IsVerified { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IsWebhook
Declaration
public override bool IsWebhook { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Overrides
|
Improve this Doc
View Source
Locale
Declaration
public string Locale { get; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
PremiumType
Declaration
public PremiumType PremiumType { get; }
Property Value
|
Improve this Doc
View Source
Username
Declaration
public override string Username { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
Methods
|
Improve this Doc
View Source
ModifyAsync(Action<SelfUserProperties>, RequestOptions)
Declaration
public Task ModifyAsync(Action<SelfUserProperties> func, RequestOptions options = null)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Implements