UNPKG

2.1 kBTypeScriptView Raw
1import { WebAPICallResult } from '../../WebClient';
2export type FilesCompleteUploadExternalResponse = WebAPICallResult & {
3 error?: string;
4 files?: File[];
5 needed?: string;
6 ok?: boolean;
7 provided?: string;
8};
9export interface File {
10 alt_txt?: string;
11 channels?: string[];
12 comments_count?: number;
13 created?: number;
14 deanimate?: string;
15 deanimate_gif?: string;
16 display_as_bot?: boolean;
17 edit_link?: string;
18 editable?: boolean;
19 external_type?: string;
20 file_access?: string;
21 filetype?: string;
22 groups?: string[];
23 has_more_shares?: boolean;
24 has_rich_preview?: boolean;
25 id?: string;
26 ims?: string[];
27 is_external?: boolean;
28 is_public?: boolean;
29 is_starred?: boolean;
30 lines?: number;
31 lines_more?: number;
32 media_display_type?: string;
33 mimetype?: string;
34 mode?: string;
35 name?: string;
36 original_h?: number;
37 original_w?: number;
38 permalink?: string;
39 permalink_public?: string;
40 pretty_type?: string;
41 preview?: string;
42 preview_highlight?: string;
43 preview_is_truncated?: boolean;
44 public_url_shared?: boolean;
45 shares?: Shares;
46 size?: number;
47 thumb_160?: string;
48 thumb_360?: string;
49 thumb_360_gif?: string;
50 thumb_360_h?: number;
51 thumb_360_w?: number;
52 thumb_480?: string;
53 thumb_480_gif?: string;
54 thumb_480_h?: number;
55 thumb_480_w?: number;
56 thumb_64?: string;
57 thumb_80?: string;
58 thumb_tiny?: string;
59 timestamp?: number;
60 title?: string;
61 url_private?: string;
62 url_private_download?: string;
63 user?: string;
64 user_team?: string;
65 username?: string;
66}
67export interface Shares {
68 public?: {
69 [key: string]: Public[];
70 };
71}
72export interface Public {
73 channel_name?: string;
74 latest_reply?: string;
75 reply_count?: number;
76 reply_users?: string[];
77 reply_users_count?: number;
78 share_user_id?: string;
79 source?: string;
80 team_id?: string;
81 thread_ts?: string;
82 ts?: string;
83}
84//# sourceMappingURL=FilesCompleteUploadExternalResponse.d.ts.map
\No newline at end of file