Constructors
constructor
- new UserProfile(client, data): UserProfile
-
Parameters
-
-
data: {
background?: null | {
_id: string;
content_type: string;
deleted?: null | boolean;
filename: string;
message_id?: null | string;
metadata: {
type: "File";
} | {
type: "Text";
} | {
height: number;
type: "Image";
width: number;
} | {
height: number;
type: "Video";
width: number;
} | {
type: "Audio";
};
object_id?: null | string;
reported?: null | boolean;
server_id?: null | string;
size: number;
tag: string;
user_id?: null | string;
};
content?: null | string;
}
-
Optional
background?: null | {
_id: string;
content_type: string;
deleted?: null | boolean;
filename: string;
message_id?: null | string;
metadata: {
type: "File";
} | {
type: "Text";
} | {
height: number;
type: "Image";
width: number;
} | {
height: number;
type: "Video";
width: number;
} | {
type: "Audio";
};
object_id?: null | string;
reported?: null | boolean;
server_id?: null | string;
size: number;
tag: string;
user_id?: null | string;
}
-
Optional
content?: null | string
Properties
Optional
Readonly
content
content?: string
Accessors
animatedBannerURL
- get animatedBannerURL(): undefined | string
-
Returns undefined | string
bannerURL
- get bannerURL(): undefined | string
-
Returns undefined | string
User Profile Class