UNPKG

1.39 kBTypeScriptView Raw
1import { WebAPICallResult } from '../../WebClient';
2export type UsersProfileSetResponse = WebAPICallResult & {
3 error?: string;
4 needed?: string;
5 ok?: boolean;
6 profile?: Profile;
7 provided?: string;
8 username?: string;
9};
10export interface Profile {
11 avatar_hash?: string;
12 display_name?: string;
13 display_name_normalized?: string;
14 email?: string;
15 fields?: {
16 [key: string]: Field;
17 };
18 first_name?: string;
19 huddle_state?: string;
20 huddle_state_expiration_ts?: number;
21 image_1024?: string;
22 image_192?: string;
23 image_24?: string;
24 image_32?: string;
25 image_48?: string;
26 image_512?: string;
27 image_72?: string;
28 image_original?: string;
29 is_custom_image?: boolean;
30 last_name?: string;
31 phone?: string;
32 pronouns?: string;
33 real_name?: string;
34 real_name_normalized?: string;
35 skype?: string;
36 status_emoji?: string;
37 status_emoji_display_info?: StatusEmojiDisplayInfo[];
38 status_emoji_url?: string;
39 status_expiration?: number;
40 status_text?: string;
41 status_text_canonical?: string;
42 title?: string;
43}
44export interface Field {
45 alt?: string;
46 value?: string;
47}
48export interface StatusEmojiDisplayInfo {
49 display_alias?: string;
50 display_url?: string;
51 emoji_name?: string;
52 unicode?: string;
53}
54//# sourceMappingURL=UsersProfileSetResponse.d.ts.map
\No newline at end of file