UNPKG

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