UNPKG

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