C# 클래스 Discord.WebSocket.SocketUser

상속: SocketEntity, IUser
파일 보기 프로젝트 열기: Still34/Discord.Net 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Clone SocketUser
SocketUser System
Update bool

공개 메소드들

메소드 설명
GetAvatarUrl ( ImageFormat format = ImageFormat.Auto, ushort size = 128 ) : string
GetDefaultAvatarUrl ( ) : string
GetOrCreateDMChannelAsync ( RequestOptions options = null ) : Task
ToString ( ) : string

Gets the full name of the user (e.g. Example#0001).

비공개 메소드들

메소드 설명
Clone ( ) : SocketUser
SocketUser ( Discord.WebSocket.DiscordSocketClient discord, id ) : System
Update ( Discord.WebSocket.ClientState state, Discord.API.User model ) : bool

메소드 상세

GetAvatarUrl() 공개 메소드

public GetAvatarUrl ( ImageFormat format = ImageFormat.Auto, ushort size = 128 ) : string
format ImageFormat
size ushort
리턴 string

GetDefaultAvatarUrl() 공개 메소드

public GetDefaultAvatarUrl ( ) : string
리턴 string

GetOrCreateDMChannelAsync() 공개 메소드

public GetOrCreateDMChannelAsync ( RequestOptions options = null ) : Task
options RequestOptions
리턴 Task

ToString() 공개 메소드

Gets the full name of the user (e.g. Example#0001).
public ToString ( ) : string
리턴 string