1 | import { WebAPICallResult } from '../../WebClient';
|
2 | export type ConversationsRepliesResponse = WebAPICallResult & {
|
3 | error?: string;
|
4 | has_more?: boolean;
|
5 | messages?: MessageElement[];
|
6 | needed?: string;
|
7 | ok?: boolean;
|
8 | provided?: string;
|
9 | response_metadata?: ResponseMetadata;
|
10 | };
|
11 | export interface MessageElement {
|
12 | app_id?: string;
|
13 | attachments?: Attachment[];
|
14 | blocks?: PurpleBlock[];
|
15 | bot_id?: string;
|
16 | bot_profile?: BotProfile;
|
17 | display_as_bot?: boolean;
|
18 | edited?: Edited;
|
19 | files?: FileElement[];
|
20 | is_locked?: boolean;
|
21 | last_read?: string;
|
22 | latest_reply?: string;
|
23 | metadata?: FluffyMetadata;
|
24 | parent_user_id?: string;
|
25 | reactions?: Reaction[];
|
26 | reply_count?: number;
|
27 | reply_users?: string[];
|
28 | reply_users_count?: number;
|
29 | subscribed?: boolean;
|
30 | team?: string;
|
31 | text?: string;
|
32 | thread_ts?: string;
|
33 | ts?: string;
|
34 | type?: string;
|
35 | upload?: boolean;
|
36 | user?: string;
|
37 | x_files?: string[];
|
38 | }
|
39 | export interface Attachment {
|
40 | actions?: Action[];
|
41 | app_id?: string;
|
42 | app_unfurl_url?: string;
|
43 | author_icon?: string;
|
44 | author_id?: string;
|
45 | author_link?: string;
|
46 | author_name?: string;
|
47 | author_subname?: string;
|
48 | blocks?: TitleBlockElement[];
|
49 | bot_id?: string;
|
50 | callback_id?: string;
|
51 | channel_id?: string;
|
52 | channel_name?: string;
|
53 | channel_team?: string;
|
54 | color?: string;
|
55 | fallback?: string;
|
56 | fields?: Field[];
|
57 | filename?: string;
|
58 | files?: FileElement[];
|
59 | footer?: string;
|
60 | footer_icon?: string;
|
61 | from_url?: string;
|
62 | hide_color?: boolean;
|
63 | id?: number;
|
64 | image_bytes?: number;
|
65 | image_height?: number;
|
66 | image_url?: string;
|
67 | image_width?: number;
|
68 | indent?: boolean;
|
69 | is_app_unfurl?: boolean;
|
70 | is_file_attachment?: boolean;
|
71 | is_msg_unfurl?: boolean;
|
72 | is_reply_unfurl?: boolean;
|
73 | is_thread_root_unfurl?: boolean;
|
74 | message_blocks?: MessageBlock[];
|
75 | metadata?: AttachmentMetadata;
|
76 | mimetype?: string;
|
77 | mrkdwn_in?: string[];
|
78 | msg_subtype?: string;
|
79 | original_url?: string;
|
80 | pretext?: string;
|
81 | preview?: Preview;
|
82 | service_icon?: string;
|
83 | service_name?: string;
|
84 | service_url?: string;
|
85 | size?: number;
|
86 | text?: string;
|
87 | thumb_height?: number;
|
88 | thumb_url?: string;
|
89 | thumb_width?: number;
|
90 | title?: string;
|
91 | title_link?: string;
|
92 | ts?: string;
|
93 | url?: string;
|
94 | video_html?: string;
|
95 | video_html_height?: number;
|
96 | video_html_width?: number;
|
97 | video_url?: string;
|
98 | }
|
99 | export interface Action {
|
100 | confirm?: ActionConfirm;
|
101 | data_source?: string;
|
102 | id?: string;
|
103 | min_query_length?: number;
|
104 | name?: string;
|
105 | option_groups?: ActionOptionGroup[];
|
106 | options?: SelectedOptionElement[];
|
107 | selected_options?: SelectedOptionElement[];
|
108 | style?: string;
|
109 | text?: string;
|
110 | type?: string;
|
111 | url?: string;
|
112 | value?: string;
|
113 | }
|
114 | export interface ActionConfirm {
|
115 | dismiss_text?: string;
|
116 | ok_text?: string;
|
117 | text?: string;
|
118 | title?: string;
|
119 | }
|
120 | export interface ActionOptionGroup {
|
121 | options?: SelectedOptionElement[];
|
122 | text?: string;
|
123 | }
|
124 | export interface SelectedOptionElement {
|
125 | text?: string;
|
126 | value?: string;
|
127 | }
|
128 | export interface TitleBlockElement {
|
129 | accessory?: Accessory;
|
130 | alt_text?: string;
|
131 | app_collaborators?: string[];
|
132 | app_id?: string;
|
133 | author_name?: string;
|
134 | block_id?: string;
|
135 | bot_user_id?: string;
|
136 | button_label?: string;
|
137 | description?: DescriptionElement | string;
|
138 | developer_trace_id?: string;
|
139 | elements?: Accessory[];
|
140 | fallback?: string;
|
141 | fields?: DescriptionElement[];
|
142 | function_trigger_id?: string;
|
143 | image_bytes?: number;
|
144 | image_height?: number;
|
145 | image_url?: string;
|
146 | image_width?: number;
|
147 | is_animated?: boolean;
|
148 | is_workflow_app?: boolean;
|
149 | owning_team_id?: string;
|
150 | provider_icon_url?: string;
|
151 | provider_name?: string;
|
152 | sales_home_workflow_app_type?: number;
|
153 | share_url?: string;
|
154 | slack_file?: SlackFile;
|
155 | text?: DescriptionElement;
|
156 | thumbnail_url?: string;
|
157 | title?: DescriptionElement | string;
|
158 | title_url?: string;
|
159 | trigger_subtype?: string;
|
160 | trigger_type?: string;
|
161 | type?: BlockType;
|
162 | url?: string;
|
163 | video_url?: string;
|
164 | workflow_id?: string;
|
165 | }
|
166 | export interface Accessory {
|
167 | accessibility_label?: string;
|
168 | action_id?: string;
|
169 | alt_text?: string;
|
170 | border?: number;
|
171 | confirm?: AccessoryConfirm;
|
172 | default_to_current_conversation?: boolean;
|
173 | elements?: AccessoryElement[];
|
174 | fallback?: string;
|
175 | filter?: Filter;
|
176 | focus_on_load?: boolean;
|
177 | image_bytes?: number;
|
178 | image_height?: number;
|
179 | image_url?: string;
|
180 | image_width?: number;
|
181 | indent?: number;
|
182 | initial_channel?: string;
|
183 | initial_channels?: string[];
|
184 | initial_conversation?: string;
|
185 | initial_conversations?: string[];
|
186 | initial_date?: string;
|
187 | initial_date_time?: number;
|
188 | initial_option?: InitialOptionElement;
|
189 | initial_options?: InitialOptionElement[];
|
190 | initial_time?: string;
|
191 | initial_user?: string;
|
192 | initial_users?: string[];
|
193 | max_selected_items?: number;
|
194 | min_query_length?: number;
|
195 | offset?: number;
|
196 | option_groups?: AccessoryOptionGroup[];
|
197 | options?: InitialOptionElement[];
|
198 | placeholder?: DescriptionElement;
|
199 | response_url_enabled?: boolean;
|
200 | slack_file?: SlackFile;
|
201 | style?: string;
|
202 | text?: DescriptionElement;
|
203 | timezone?: string;
|
204 | type?: string;
|
205 | url?: string;
|
206 | value?: string;
|
207 | workflow?: Workflow;
|
208 | }
|
209 | export interface AccessoryConfirm {
|
210 | confirm?: DescriptionElement;
|
211 | deny?: DescriptionElement;
|
212 | style?: string;
|
213 | text?: DescriptionElement;
|
214 | title?: DescriptionElement;
|
215 | }
|
216 | export interface DescriptionElement {
|
217 | emoji?: boolean;
|
218 | text?: string;
|
219 | type?: DescriptionType;
|
220 | verbatim?: boolean;
|
221 | }
|
222 | export declare enum DescriptionType {
|
223 | Mrkdwn = "mrkdwn",
|
224 | PlainText = "plain_text"
|
225 | }
|
226 | export interface AccessoryElement {
|
227 | border?: number;
|
228 | elements?: PurpleElement[];
|
229 | indent?: number;
|
230 | offset?: number;
|
231 | style?: string;
|
232 | type?: FluffyType;
|
233 | }
|
234 | export interface PurpleElement {
|
235 | channel_id?: string;
|
236 | name?: string;
|
237 | range?: string;
|
238 | skin_tone?: number;
|
239 | style?: Style;
|
240 | team_id?: string;
|
241 | text?: string;
|
242 | timestamp?: string;
|
243 | type?: PurpleType;
|
244 | unicode?: string;
|
245 | url?: string;
|
246 | user_id?: string;
|
247 | usergroup_id?: string;
|
248 | value?: string;
|
249 | }
|
250 | export interface Style {
|
251 | bold?: boolean;
|
252 | code?: boolean;
|
253 | italic?: boolean;
|
254 | strike?: boolean;
|
255 | }
|
256 | export declare enum PurpleType {
|
257 | Broadcast = "broadcast",
|
258 | Channel = "channel",
|
259 | Color = "color",
|
260 | Date = "date",
|
261 | Emoji = "emoji",
|
262 | Link = "link",
|
263 | Team = "team",
|
264 | Text = "text",
|
265 | User = "user",
|
266 | Usergroup = "usergroup"
|
267 | }
|
268 | export declare enum FluffyType {
|
269 | RichTextList = "rich_text_list",
|
270 | RichTextPreformatted = "rich_text_preformatted",
|
271 | RichTextQuote = "rich_text_quote",
|
272 | RichTextSection = "rich_text_section"
|
273 | }
|
274 | export interface Filter {
|
275 | exclude_bot_users?: boolean;
|
276 | exclude_external_shared_channels?: boolean;
|
277 | include?: any[];
|
278 | }
|
279 | export interface InitialOptionElement {
|
280 | description?: DescriptionElement;
|
281 | text?: DescriptionElement;
|
282 | url?: string;
|
283 | value?: string;
|
284 | }
|
285 | export interface AccessoryOptionGroup {
|
286 | label?: DescriptionElement;
|
287 | options?: InitialOptionElement[];
|
288 | }
|
289 | export interface SlackFile {
|
290 | id?: string;
|
291 | url?: string;
|
292 | }
|
293 | export interface Workflow {
|
294 | trigger?: Trigger;
|
295 | }
|
296 | export interface Trigger {
|
297 | customizable_input_parameters?: CustomizableInputParameter[];
|
298 | url?: string;
|
299 | }
|
300 | export interface CustomizableInputParameter {
|
301 | name?: string;
|
302 | value?: string;
|
303 | }
|
304 | export declare enum BlockType {
|
305 | Actions = "actions",
|
306 | Context = "context",
|
307 | Divider = "divider",
|
308 | Image = "image",
|
309 | RichText = "rich_text",
|
310 | Section = "section",
|
311 | ShareShortcut = "share_shortcut",
|
312 | Video = "video"
|
313 | }
|
314 | export interface Field {
|
315 | short?: boolean;
|
316 | title?: string;
|
317 | value?: string;
|
318 | }
|
319 | export interface FileElement {
|
320 | access?: string;
|
321 | alt_txt?: string;
|
322 | app_id?: string;
|
323 | app_name?: string;
|
324 | attachments?: any[];
|
325 | blocks?: TitleBlockElement[];
|
326 | bot_id?: string;
|
327 | canvas_template_mode?: string;
|
328 | cc?: Cc[];
|
329 | channel_actions_count?: number;
|
330 | channel_actions_ts?: string;
|
331 | channels?: string[];
|
332 | comments_count?: number;
|
333 | converted_pdf?: string;
|
334 | created?: number;
|
335 | deanimate?: string;
|
336 | deanimate_gif?: string;
|
337 | display_as_bot?: boolean;
|
338 | dm_mpdm_users_with_file_access?: DmMpdmUsersWithFileAccess[];
|
339 | duration_ms?: number;
|
340 | edit_link?: string;
|
341 | edit_timestamp?: number;
|
342 | editable?: boolean;
|
343 | editor?: string;
|
344 | editors?: string[];
|
345 | external_id?: string;
|
346 | external_type?: string;
|
347 | external_url?: string;
|
348 | file_access?: string;
|
349 | filetype?: string;
|
350 | from?: Cc[];
|
351 | groups?: string[];
|
352 | has_more?: boolean;
|
353 | has_more_shares?: boolean;
|
354 | has_rich_preview?: boolean;
|
355 | headers?: Headers;
|
356 | hls?: string;
|
357 | hls_embed?: string;
|
358 | id?: string;
|
359 | image_exif_rotation?: number;
|
360 | ims?: string[];
|
361 | initial_comment?: InitialComment;
|
362 | is_channel_space?: boolean;
|
363 | is_external?: boolean;
|
364 | is_public?: boolean;
|
365 | is_starred?: boolean;
|
366 | last_editor?: string;
|
367 | last_read?: number;
|
368 | lines?: number;
|
369 | lines_more?: number;
|
370 | linked_channel_id?: string;
|
371 | media_display_type?: string;
|
372 | media_progress?: MediaProgress;
|
373 | mimetype?: string;
|
374 | mode?: string;
|
375 | mp4?: string;
|
376 | mp4_low?: string;
|
377 | name?: string;
|
378 | non_owner_editable?: boolean;
|
379 | num_stars?: number;
|
380 | org_or_workspace_access?: string;
|
381 | original_attachment_count?: number;
|
382 | original_h?: string;
|
383 | original_w?: string;
|
384 | permalink?: string;
|
385 | permalink_public?: string;
|
386 | pinned_to?: string[];
|
387 | pjpeg?: string;
|
388 | plain_text?: string;
|
389 | pretty_type?: string;
|
390 | preview?: string;
|
391 | preview_highlight?: string;
|
392 | preview_is_truncated?: boolean;
|
393 | preview_plain_text?: string;
|
394 | private_channels_with_file_access_count?: number;
|
395 | public_url_shared?: boolean;
|
396 | quip_thread_id?: string;
|
397 | reactions?: Reaction[];
|
398 | saved?: Saved;
|
399 | sent_to_self?: boolean;
|
400 | shares?: Shares;
|
401 | show_badge?: boolean;
|
402 | simplified_html?: string;
|
403 | size?: number;
|
404 | source_team?: string;
|
405 | subject?: string;
|
406 | subtype?: string;
|
407 | team_pref_version_history_enabled?: boolean;
|
408 | teams_shared_with?: any[];
|
409 | template_conversion_ts?: number;
|
410 | template_description?: string;
|
411 | template_icon?: string;
|
412 | template_name?: string;
|
413 | template_title?: string;
|
414 | thumb_1024?: string;
|
415 | thumb_1024_gif?: string;
|
416 | thumb_1024_h?: string;
|
417 | thumb_1024_w?: string;
|
418 | thumb_160?: string;
|
419 | thumb_160_gif?: string;
|
420 | thumb_160_h?: string;
|
421 | thumb_160_w?: string;
|
422 | thumb_360?: string;
|
423 | thumb_360_gif?: string;
|
424 | thumb_360_h?: string;
|
425 | thumb_360_w?: string;
|
426 | thumb_480?: string;
|
427 | thumb_480_gif?: string;
|
428 | thumb_480_h?: string;
|
429 | thumb_480_w?: string;
|
430 | thumb_64?: string;
|
431 | thumb_64_gif?: string;
|
432 | thumb_64_h?: string;
|
433 | thumb_64_w?: string;
|
434 | thumb_720?: string;
|
435 | thumb_720_gif?: string;
|
436 | thumb_720_h?: string;
|
437 | thumb_720_w?: string;
|
438 | thumb_80?: string;
|
439 | thumb_800?: string;
|
440 | thumb_800_gif?: string;
|
441 | thumb_800_h?: string;
|
442 | thumb_800_w?: string;
|
443 | thumb_80_gif?: string;
|
444 | thumb_80_h?: string;
|
445 | thumb_80_w?: string;
|
446 | thumb_960?: string;
|
447 | thumb_960_gif?: string;
|
448 | thumb_960_h?: string;
|
449 | thumb_960_w?: string;
|
450 | thumb_gif?: string;
|
451 | thumb_pdf?: string;
|
452 | thumb_pdf_h?: string;
|
453 | thumb_pdf_w?: string;
|
454 | thumb_tiny?: string;
|
455 | thumb_video?: string;
|
456 | thumb_video_h?: number;
|
457 | thumb_video_w?: number;
|
458 | timestamp?: number;
|
459 | title?: string;
|
460 | title_blocks?: TitleBlockElement[];
|
461 | to?: Cc[];
|
462 | transcription?: Transcription;
|
463 | update_notification?: number;
|
464 | updated?: number;
|
465 | url_private?: string;
|
466 | url_private_download?: string;
|
467 | url_static_preview?: string;
|
468 | user?: string;
|
469 | user_team?: string;
|
470 | username?: string;
|
471 | vtt?: string;
|
472 | }
|
473 | export interface Cc {
|
474 | address?: string;
|
475 | name?: string;
|
476 | original?: string;
|
477 | }
|
478 | export interface DmMpdmUsersWithFileAccess {
|
479 | access?: string;
|
480 | user_id?: string;
|
481 | }
|
482 | export interface Headers {
|
483 | date?: string;
|
484 | in_reply_to?: string;
|
485 | message_id?: string;
|
486 | reply_to?: string;
|
487 | }
|
488 | export interface InitialComment {
|
489 | channel?: string;
|
490 | comment?: string;
|
491 | created?: number;
|
492 | id?: string;
|
493 | is_intro?: boolean;
|
494 | timestamp?: number;
|
495 | user?: string;
|
496 | }
|
497 | export interface MediaProgress {
|
498 | duration_ms?: number;
|
499 | max_offset_ms?: number;
|
500 | offset_ms?: number;
|
501 | }
|
502 | export interface Reaction {
|
503 | count?: number;
|
504 | name?: string;
|
505 | url?: string;
|
506 | users?: string[];
|
507 | }
|
508 | export interface Saved {
|
509 | date_completed?: number;
|
510 | date_due?: number;
|
511 | is_archived?: boolean;
|
512 | state?: string;
|
513 | }
|
514 | export interface Shares {
|
515 | private?: {
|
516 | [key: string]: Private[];
|
517 | };
|
518 | public?: {
|
519 | [key: string]: Private[];
|
520 | };
|
521 | }
|
522 | export interface Private {
|
523 | access?: string;
|
524 | channel_name?: string;
|
525 | date_last_shared?: number;
|
526 | latest_reply?: string;
|
527 | reply_count?: number;
|
528 | reply_users?: string[];
|
529 | reply_users_count?: number;
|
530 | share_user_id?: string;
|
531 | source?: string;
|
532 | team_id?: string;
|
533 | thread_ts?: string;
|
534 | ts?: string;
|
535 | }
|
536 | export interface Transcription {
|
537 | locale?: string;
|
538 | status?: string;
|
539 | }
|
540 | export interface MessageBlock {
|
541 | channel?: string;
|
542 | message?: MessageBlockMessage;
|
543 | team?: string;
|
544 | ts?: string;
|
545 | }
|
546 | export interface MessageBlockMessage {
|
547 | app_id?: string;
|
548 | attachments?: any[];
|
549 | blocks?: TitleBlockElement[];
|
550 | bot_id?: string;
|
551 | bot_link?: string;
|
552 | bot_profile?: BotProfile;
|
553 | channel?: string;
|
554 | client_msg_id?: string;
|
555 | comment?: Comment;
|
556 | display_as_bot?: boolean;
|
557 | edited?: Edited;
|
558 | file?: BlockFile;
|
559 | files?: any[];
|
560 | hidden?: boolean;
|
561 | icons?: MessageIcons;
|
562 | inviter?: string;
|
563 | is_intro?: boolean;
|
564 | is_locked?: boolean;
|
565 | is_starred?: boolean;
|
566 | is_thread_broadcast?: boolean;
|
567 | item?: Comment;
|
568 | item_type?: string;
|
569 | last_read?: string;
|
570 | latest_reply?: string;
|
571 | metadata?: PurpleMetadata;
|
572 | no_notifications?: boolean;
|
573 | parent_user_id?: string;
|
574 | pinned_to?: any[];
|
575 | purpose?: string;
|
576 | reactions?: any[];
|
577 | replies?: any[];
|
578 | reply_count?: number;
|
579 | reply_users?: any[];
|
580 | reply_users_count?: number;
|
581 | room?: Room;
|
582 | root?: Root;
|
583 | subscribed?: boolean;
|
584 | subtype?: string;
|
585 | team?: string;
|
586 | text?: string;
|
587 | thread_ts?: string;
|
588 | topic?: string;
|
589 | ts?: string;
|
590 | type?: string;
|
591 | unfurl_links?: boolean;
|
592 | unfurl_media?: boolean;
|
593 | upload?: boolean;
|
594 | user?: string;
|
595 | username?: string;
|
596 | wibblr?: boolean;
|
597 | x_files?: any[];
|
598 | }
|
599 | export interface BotProfile {
|
600 | app_id?: string;
|
601 | deleted?: boolean;
|
602 | icons?: BotProfileIcons;
|
603 | id?: string;
|
604 | name?: string;
|
605 | team_id?: string;
|
606 | updated?: number;
|
607 | }
|
608 | export interface BotProfileIcons {
|
609 | image_36?: string;
|
610 | image_48?: string;
|
611 | image_72?: string;
|
612 | }
|
613 | export interface Comment {
|
614 | comment?: string;
|
615 | created?: string;
|
616 | display_as_bot?: boolean;
|
617 | edit_link?: string;
|
618 | editable?: boolean;
|
619 | external_type?: string;
|
620 | filetype?: string;
|
621 | has_rich_preview?: boolean;
|
622 | id?: string;
|
623 | is_external?: boolean;
|
624 | is_intro?: boolean;
|
625 | is_public?: boolean;
|
626 | is_starred?: boolean;
|
627 | lines?: number;
|
628 | lines_more?: number;
|
629 | media_display_type?: string;
|
630 | mimetype?: string;
|
631 | mode?: string;
|
632 | name?: string;
|
633 | permalink?: string;
|
634 | permalink_public?: boolean;
|
635 | pretty_type?: string;
|
636 | preview?: string;
|
637 | preview_highlight?: string;
|
638 | preview_is_truncated?: boolean;
|
639 | public_url_shared?: boolean;
|
640 | size?: number;
|
641 | timestamp?: string;
|
642 | title?: string;
|
643 | url_private?: string;
|
644 | url_private_download?: boolean;
|
645 | user?: string;
|
646 | username?: string;
|
647 | }
|
648 | export interface Edited {
|
649 | ts?: string;
|
650 | user?: string;
|
651 | }
|
652 | export interface BlockFile {
|
653 | access?: string;
|
654 | alt_txt?: string;
|
655 | app_id?: string;
|
656 | app_name?: string;
|
657 | attachments?: any[];
|
658 | blocks?: any[];
|
659 | bot_id?: string;
|
660 | canvas_template_mode?: string;
|
661 | cc?: any[];
|
662 | channel_actions_count?: number;
|
663 | channel_actions_ts?: string;
|
664 | channels?: any[];
|
665 | comments_count?: number;
|
666 | converted_pdf?: string;
|
667 | created?: number;
|
668 | deanimate?: string;
|
669 | deanimate_gif?: string;
|
670 | display_as_bot?: boolean;
|
671 | dm_mpdm_users_with_file_access?: any[];
|
672 | duration_ms?: number;
|
673 | edit_link?: string;
|
674 | edit_timestamp?: number;
|
675 | editable?: boolean;
|
676 | editor?: string;
|
677 | editors?: any[];
|
678 | external_id?: string;
|
679 | external_type?: string;
|
680 | external_url?: string;
|
681 | file_access?: string;
|
682 | filetype?: string;
|
683 | from?: any[];
|
684 | groups?: any[];
|
685 | has_more?: boolean;
|
686 | has_more_shares?: boolean;
|
687 | has_rich_preview?: boolean;
|
688 | headers?: Headers;
|
689 | hls?: string;
|
690 | hls_embed?: string;
|
691 | id?: string;
|
692 | image_exif_rotation?: number;
|
693 | ims?: any[];
|
694 | initial_comment?: InitialComment;
|
695 | is_channel_space?: boolean;
|
696 | is_external?: boolean;
|
697 | is_public?: boolean;
|
698 | is_starred?: boolean;
|
699 | last_editor?: string;
|
700 | last_read?: number;
|
701 | lines?: number;
|
702 | lines_more?: number;
|
703 | linked_channel_id?: string;
|
704 | media_display_type?: string;
|
705 | media_progress?: MediaProgress;
|
706 | mimetype?: string;
|
707 | mode?: string;
|
708 | mp4?: string;
|
709 | mp4_low?: string;
|
710 | name?: string;
|
711 | non_owner_editable?: boolean;
|
712 | num_stars?: number;
|
713 | org_or_workspace_access?: string;
|
714 | original_attachment_count?: number;
|
715 | original_h?: string;
|
716 | original_w?: string;
|
717 | permalink?: string;
|
718 | permalink_public?: string;
|
719 | pinned_to?: any[];
|
720 | pjpeg?: string;
|
721 | plain_text?: string;
|
722 | pretty_type?: string;
|
723 | preview?: string;
|
724 | preview_highlight?: string;
|
725 | preview_is_truncated?: boolean;
|
726 | preview_plain_text?: string;
|
727 | private_channels_with_file_access_count?: number;
|
728 | public_url_shared?: boolean;
|
729 | quip_thread_id?: string;
|
730 | reactions?: any[];
|
731 | saved?: Saved;
|
732 | sent_to_self?: boolean;
|
733 | shares?: EventPayload;
|
734 | show_badge?: boolean;
|
735 | simplified_html?: string;
|
736 | size?: number;
|
737 | source_team?: string;
|
738 | subject?: string;
|
739 | subtype?: string;
|
740 | team_pref_version_history_enabled?: boolean;
|
741 | teams_shared_with?: any[];
|
742 | template_conversion_ts?: number;
|
743 | template_description?: string;
|
744 | template_icon?: string;
|
745 | template_name?: string;
|
746 | template_title?: string;
|
747 | thumb_1024?: string;
|
748 | thumb_1024_gif?: string;
|
749 | thumb_1024_h?: string;
|
750 | thumb_1024_w?: string;
|
751 | thumb_160?: string;
|
752 | thumb_160_gif?: string;
|
753 | thumb_160_h?: string;
|
754 | thumb_160_w?: string;
|
755 | thumb_360?: string;
|
756 | thumb_360_gif?: string;
|
757 | thumb_360_h?: string;
|
758 | thumb_360_w?: string;
|
759 | thumb_480?: string;
|
760 | thumb_480_gif?: string;
|
761 | thumb_480_h?: string;
|
762 | thumb_480_w?: string;
|
763 | thumb_64?: string;
|
764 | thumb_64_gif?: string;
|
765 | thumb_64_h?: string;
|
766 | thumb_64_w?: string;
|
767 | thumb_720?: string;
|
768 | thumb_720_gif?: string;
|
769 | thumb_720_h?: string;
|
770 | thumb_720_w?: string;
|
771 | thumb_80?: string;
|
772 | thumb_800?: string;
|
773 | thumb_800_gif?: string;
|
774 | thumb_800_h?: string;
|
775 | thumb_800_w?: string;
|
776 | thumb_80_gif?: string;
|
777 | thumb_80_h?: string;
|
778 | thumb_80_w?: string;
|
779 | thumb_960?: string;
|
780 | thumb_960_gif?: string;
|
781 | thumb_960_h?: string;
|
782 | thumb_960_w?: string;
|
783 | thumb_gif?: string;
|
784 | thumb_pdf?: string;
|
785 | thumb_pdf_h?: string;
|
786 | thumb_pdf_w?: string;
|
787 | thumb_tiny?: string;
|
788 | thumb_video?: string;
|
789 | thumb_video_h?: number;
|
790 | thumb_video_w?: number;
|
791 | timestamp?: number;
|
792 | title?: string;
|
793 | title_blocks?: any[];
|
794 | to?: any[];
|
795 | transcription?: Transcription;
|
796 | update_notification?: number;
|
797 | updated?: number;
|
798 | url_private?: string;
|
799 | url_private_download?: string;
|
800 | url_static_preview?: string;
|
801 | user?: string;
|
802 | user_team?: string;
|
803 | username?: string;
|
804 | vtt?: string;
|
805 | }
|
806 | export interface EventPayload {
|
807 | }
|
808 | export interface MessageIcons {
|
809 | emoji?: string;
|
810 | image_36?: string;
|
811 | image_48?: string;
|
812 | image_64?: string;
|
813 | image_72?: string;
|
814 | }
|
815 | export interface PurpleMetadata {
|
816 | event_type?: string;
|
817 | }
|
818 | export interface Room {
|
819 | app_id?: string;
|
820 | attached_file_ids?: any[];
|
821 | background_id?: string;
|
822 | call_family?: string;
|
823 | canvas_background?: string;
|
824 | canvas_thread_ts?: string;
|
825 | channels?: any[];
|
826 | created_by?: string;
|
827 | date_end?: number;
|
828 | date_start?: number;
|
829 | display_id?: string;
|
830 | external_unique_id?: string;
|
831 | has_ended?: boolean;
|
832 | id?: string;
|
833 | is_dm_call?: boolean;
|
834 | is_prewarmed?: boolean;
|
835 | is_scheduled?: boolean;
|
836 | media_backend_type?: string;
|
837 | media_server?: string;
|
838 | name?: string;
|
839 | participant_history?: any[];
|
840 | participants?: any[];
|
841 | participants_camera_off?: any[];
|
842 | participants_camera_on?: any[];
|
843 | participants_screenshare_off?: any[];
|
844 | participants_screenshare_on?: any[];
|
845 | thread_root_ts?: string;
|
846 | was_accepted?: boolean;
|
847 | was_missed?: boolean;
|
848 | was_rejected?: boolean;
|
849 | }
|
850 | export interface Root {
|
851 | bot_id?: string;
|
852 | bot_profile?: BotProfile;
|
853 | edited?: Edited;
|
854 | icons?: MessageIcons;
|
855 | last_read?: string;
|
856 | latest_reply?: string;
|
857 | mrkdwn?: boolean;
|
858 | no_notifications?: boolean;
|
859 | parent_user_id?: string;
|
860 | replies?: any[];
|
861 | reply_count?: number;
|
862 | reply_users?: any[];
|
863 | reply_users_count?: number;
|
864 | room?: Room;
|
865 | subscribed?: boolean;
|
866 | subtype?: string;
|
867 | team?: string;
|
868 | text?: string;
|
869 | thread_ts?: string;
|
870 | ts?: string;
|
871 | type?: string;
|
872 | unread_count?: number;
|
873 | user?: string;
|
874 | username?: string;
|
875 | }
|
876 | export interface AttachmentMetadata {
|
877 | extension?: string;
|
878 | format?: string;
|
879 | original_h?: number;
|
880 | original_w?: number;
|
881 | rotation?: number;
|
882 | thumb_160?: boolean;
|
883 | thumb_360_h?: number;
|
884 | thumb_360_w?: number;
|
885 | thumb_64?: boolean;
|
886 | thumb_80?: boolean;
|
887 | thumb_tiny?: string;
|
888 | }
|
889 | export interface Preview {
|
890 | can_remove?: boolean;
|
891 | icon_url?: string;
|
892 | subtitle?: DescriptionElement;
|
893 | title?: DescriptionElement;
|
894 | type?: string;
|
895 | }
|
896 | export interface PurpleBlock {
|
897 | accessory?: Accessory;
|
898 | alt_text?: string;
|
899 | api_decoration_available?: boolean;
|
900 | app_collaborators?: string[];
|
901 | app_id?: string;
|
902 | author_name?: string;
|
903 | block_id?: string;
|
904 | bot_user_id?: string;
|
905 | button_label?: string;
|
906 | call?: Call;
|
907 | call_id?: string;
|
908 | description?: DescriptionElement;
|
909 | developer_trace_id?: string;
|
910 | dispatch_action?: boolean;
|
911 | element?: Accessory;
|
912 | elements?: Accessory[];
|
913 | external_id?: string;
|
914 | fallback?: string;
|
915 | fields?: DescriptionElement[];
|
916 | file?: BlockFile;
|
917 | file_id?: string;
|
918 | function_trigger_id?: string;
|
919 | hint?: DescriptionElement;
|
920 | image_bytes?: number;
|
921 | image_height?: number;
|
922 | image_url?: string;
|
923 | image_width?: number;
|
924 | is_animated?: boolean;
|
925 | is_workflow_app?: boolean;
|
926 | label?: DescriptionElement;
|
927 | optional?: boolean;
|
928 | owning_team_id?: string;
|
929 | provider_icon_url?: string;
|
930 | provider_name?: string;
|
931 | sales_home_workflow_app_type?: number;
|
932 | share_url?: string;
|
933 | slack_file?: SlackFile;
|
934 | source?: string;
|
935 | text?: DescriptionElement;
|
936 | thumbnail_url?: string;
|
937 | title?: DescriptionElement;
|
938 | title_url?: string;
|
939 | trigger_subtype?: string;
|
940 | trigger_type?: string;
|
941 | type?: BlockType;
|
942 | url?: string;
|
943 | video_url?: string;
|
944 | workflow_id?: string;
|
945 | }
|
946 | export interface Call {
|
947 | media_backend_type?: string;
|
948 | v1?: V1;
|
949 | }
|
950 | export interface V1 {
|
951 | active_participants?: Participant[];
|
952 | all_participants?: Participant[];
|
953 | app_icon_urls?: AppIconUrls;
|
954 | app_id?: string;
|
955 | channels?: string[];
|
956 | created_by?: string;
|
957 | date_end?: number;
|
958 | date_start?: number;
|
959 | desktop_app_join_url?: string;
|
960 | display_id?: string;
|
961 | has_ended?: boolean;
|
962 | id?: string;
|
963 | is_dm_call?: boolean;
|
964 | join_url?: string;
|
965 | name?: string;
|
966 | was_accepted?: boolean;
|
967 | was_missed?: boolean;
|
968 | was_rejected?: boolean;
|
969 | }
|
970 | export interface Participant {
|
971 | avatar_url?: string;
|
972 | display_name?: string;
|
973 | external_id?: string;
|
974 | slack_id?: string;
|
975 | }
|
976 | export interface AppIconUrls {
|
977 | image_1024?: string;
|
978 | image_128?: string;
|
979 | image_192?: string;
|
980 | image_32?: string;
|
981 | image_36?: string;
|
982 | image_48?: string;
|
983 | image_512?: string;
|
984 | image_64?: string;
|
985 | image_72?: string;
|
986 | image_96?: string;
|
987 | image_original?: string;
|
988 | }
|
989 | export interface FluffyMetadata {
|
990 | event_payload?: EventPayload;
|
991 | event_type?: string;
|
992 | }
|
993 | export interface ResponseMetadata {
|
994 | next_cursor?: string;
|
995 | }
|
996 |
|
\ | No newline at end of file |