UNPKG

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