Class SocketSelfUser
表示一个基于网关的当前登录的用户信息。
public class SocketSelfUser : SocketUser, ISelfUser, IUser, IEntity<uint>, IMentionable
- Inheritance
-
SocketSelfUser
- Implements
- Inherited Members
Properties
Avatar
获取此用户的头像图像的 URL。
public override string? Avatar { get; }
Property Value
AvatarDecorationType
获取用户头像装饰类型。
public override string? AvatarDecorationType { get; }
Property Value
AvatarDecorationUrl
获取此用户的头像装饰图像的 URL。
public override string? AvatarDecorationUrl { get; }
Property Value
IsBot
获取此用户是否为 Bot。
public override bool? IsBot { get; }
Property Value
- bool?
Level
获取此用户的等级。
public override int? Level { get; }
Property Value
- int?
Username
获取此用户的用户名。
public override string? Username { get; }