UNPKG

59.9 kBTypeScriptView Raw
1import { WebAPICallResult } from '../../WebClient';
2export type RtmStartResponse = WebAPICallResult & {
3 accept_tos_url?: string;
4 bots?: Bot[];
5 cache_ts?: number;
6 cache_ts_version?: string;
7 cache_version?: string;
8 can_manage_shared_channels?: boolean;
9 channels?: Channel[];
10 dnd?: Dnd;
11 error?: string;
12 groups?: Group[];
13 ims?: Im[];
14 is_europe?: boolean;
15 latest_event_ts?: string;
16 links?: Links;
17 mobile_app_requires_upgrade?: boolean;
18 needed?: string;
19 non_threadable_channels?: string[];
20 ok?: boolean;
21 provided?: string;
22 read_only_channels?: string[];
23 response_metadata?: ResponseMetadata;
24 self?: Self;
25 subteams?: Subteams;
26 team?: Team;
27 thread_only_channels?: string[];
28 url?: string;
29 users?: User[];
30};
31export interface Bot {
32 app_id?: string;
33 deleted?: boolean;
34 icons?: BotIcons;
35 id?: string;
36 is_workflow_bot?: boolean;
37 name?: string;
38 team_id?: string;
39 updated?: number;
40}
41export interface BotIcons {
42 image_36?: string;
43 image_48?: string;
44 image_72?: string;
45}
46export interface Channel {
47 connected_limited_team_ids?: string[];
48 connected_team_ids?: string[];
49 context_team_id?: string;
50 conversation_host_id?: string;
51 created?: number;
52 creator?: string;
53 has_pins?: boolean;
54 id?: string;
55 internal_team_ids?: string[];
56 is_archived?: boolean;
57 is_channel?: boolean;
58 is_ext_shared?: boolean;
59 is_general?: boolean;
60 is_group?: boolean;
61 is_im?: boolean;
62 is_member?: boolean;
63 is_mpim?: boolean;
64 is_org_shared?: boolean;
65 is_pending_ext_shared?: boolean;
66 is_private?: boolean;
67 is_shared?: boolean;
68 last_read?: string;
69 name?: string;
70 name_normalized?: string;
71 pending_connected_team_ids?: string[];
72 pending_shared?: string[];
73 previous_names?: string[];
74 priority?: number;
75 purpose?: Purpose;
76 shared_team_ids?: string[];
77 topic?: Purpose;
78 unlinked?: number;
79}
80export interface Purpose {
81 creator?: string;
82 last_set?: number;
83 value?: string;
84}
85export interface Dnd {
86 dnd_enabled?: boolean;
87 next_dnd_end_ts?: number;
88 next_dnd_start_ts?: number;
89 snooze_enabled?: boolean;
90}
91export interface Group {
92 created?: number;
93 creator?: string;
94 id?: string;
95 is_archived?: boolean;
96 is_group?: boolean;
97 is_mpim?: boolean;
98 is_open?: boolean;
99 is_read_only?: boolean;
100 is_thread_only?: boolean;
101 last_read?: string;
102 latest?: Latest;
103 members?: string[];
104 name?: string;
105 name_normalized?: string;
106 parent_group?: string;
107 priority?: number;
108 purpose?: Purpose;
109 topic?: Purpose;
110 unread_count?: number;
111 unread_count_display?: number;
112}
113export interface Latest {
114 attachments?: Attachment[];
115 blocks?: LatestBlock[];
116 bot_id?: string;
117 bot_link?: string;
118 bot_profile?: Bot;
119 client_msg_id?: string;
120 display_as_bot?: boolean;
121 edited?: Edited;
122 files?: FileElement[];
123 icons?: MessageIcons;
124 parent_user_id?: string;
125 reactions?: string[];
126 root?: Root;
127 subtype?: string;
128 team?: string;
129 text?: string;
130 thread_ts?: string;
131 topic?: string;
132 ts?: string;
133 type?: string;
134 upload?: boolean;
135 user?: string;
136 username?: string;
137 x_files?: string[];
138}
139export interface Attachment {
140 actions?: Action[];
141 app_id?: string;
142 app_unfurl_url?: string;
143 author_icon?: string;
144 author_id?: string;
145 author_link?: string;
146 author_name?: string;
147 author_subname?: string;
148 blocks?: TitleBlockElement[];
149 bot_id?: string;
150 callback_id?: string;
151 channel_id?: string;
152 channel_name?: string;
153 channel_team?: string;
154 color?: string;
155 fallback?: string;
156 fields?: Field[];
157 filename?: string;
158 files?: FileElement[];
159 footer?: string;
160 footer_icon?: string;
161 from_url?: string;
162 hide_color?: boolean;
163 id?: number;
164 image_bytes?: number;
165 image_height?: number;
166 image_url?: string;
167 image_width?: number;
168 indent?: boolean;
169 is_app_unfurl?: boolean;
170 is_file_attachment?: boolean;
171 is_msg_unfurl?: boolean;
172 is_reply_unfurl?: boolean;
173 is_thread_root_unfurl?: boolean;
174 message_blocks?: MessageBlock[];
175 metadata?: AttachmentMetadata;
176 mimetype?: string;
177 mrkdwn_in?: string[];
178 msg_subtype?: string;
179 original_url?: string;
180 pretext?: string;
181 preview?: Preview;
182 service_icon?: string;
183 service_name?: string;
184 service_url?: string;
185 size?: number;
186 text?: string;
187 thumb_height?: number;
188 thumb_url?: string;
189 thumb_width?: number;
190 title?: string;
191 title_link?: string;
192 ts?: string;
193 url?: string;
194 video_html?: string;
195 video_html_height?: number;
196 video_html_width?: number;
197 video_url?: string;
198}
199export interface Action {
200 confirm?: ActionConfirm;
201 data_source?: string;
202 id?: string;
203 min_query_length?: number;
204 name?: string;
205 option_groups?: ActionOptionGroup[];
206 options?: SelectedOptionElement[];
207 selected_options?: SelectedOptionElement[];
208 style?: string;
209 text?: string;
210 type?: string;
211 url?: string;
212 value?: string;
213}
214export interface ActionConfirm {
215 dismiss_text?: string;
216 ok_text?: string;
217 text?: string;
218 title?: string;
219}
220export interface ActionOptionGroup {
221 options?: SelectedOptionElement[];
222 text?: string;
223}
224export interface SelectedOptionElement {
225 text?: string;
226 value?: string;
227}
228export interface TitleBlockElement {
229 accessory?: Accessory;
230 alt_text?: string;
231 app_collaborators?: string[];
232 app_id?: string;
233 author_name?: string;
234 block_id?: string;
235 bot_user_id?: string;
236 button_label?: string;
237 description?: DescriptionElement | string;
238 developer_trace_id?: string;
239 elements?: Accessory[];
240 fallback?: string;
241 fields?: DescriptionElement[];
242 function_trigger_id?: string;
243 image_bytes?: number;
244 image_height?: number;
245 image_url?: string;
246 image_width?: number;
247 is_animated?: boolean;
248 is_workflow_app?: boolean;
249 owning_team_id?: string;
250 provider_icon_url?: string;
251 provider_name?: string;
252 sales_home_workflow_app_type?: number;
253 share_url?: string;
254 slack_file?: SlackFile;
255 text?: DescriptionElement;
256 thumbnail_url?: string;
257 title?: DescriptionElement | string;
258 title_url?: string;
259 trigger_subtype?: string;
260 trigger_type?: string;
261 type?: BlockType;
262 url?: string;
263 video_url?: string;
264 workflow_id?: string;
265}
266export interface Accessory {
267 accessibility_label?: string;
268 action_id?: string;
269 alt_text?: string;
270 border?: number;
271 confirm?: AccessoryConfirm;
272 default_to_current_conversation?: boolean;
273 elements?: AccessoryElement[];
274 fallback?: string;
275 filter?: Filter;
276 focus_on_load?: boolean;
277 image_bytes?: number;
278 image_height?: number;
279 image_url?: string;
280 image_width?: number;
281 indent?: number;
282 initial_channel?: string;
283 initial_channels?: string[];
284 initial_conversation?: string;
285 initial_conversations?: string[];
286 initial_date?: string;
287 initial_date_time?: number;
288 initial_option?: InitialOptionElement;
289 initial_options?: InitialOptionElement[];
290 initial_time?: string;
291 initial_user?: string;
292 initial_users?: string[];
293 max_selected_items?: number;
294 min_query_length?: number;
295 offset?: number;
296 option_groups?: AccessoryOptionGroup[];
297 options?: InitialOptionElement[];
298 placeholder?: DescriptionElement;
299 response_url_enabled?: boolean;
300 slack_file?: SlackFile;
301 style?: string;
302 text?: DescriptionElement;
303 timezone?: string;
304 type?: string;
305 url?: string;
306 value?: string;
307 workflow?: Workflow;
308}
309export interface AccessoryConfirm {
310 confirm?: DescriptionElement;
311 deny?: DescriptionElement;
312 style?: string;
313 text?: DescriptionElement;
314 title?: DescriptionElement;
315}
316export interface DescriptionElement {
317 emoji?: boolean;
318 text?: string;
319 type?: DescriptionType;
320 verbatim?: boolean;
321}
322export declare enum DescriptionType {
323 Mrkdwn = "mrkdwn",
324 PlainText = "plain_text"
325}
326export interface AccessoryElement {
327 border?: number;
328 elements?: PurpleElement[];
329 indent?: number;
330 offset?: number;
331 style?: string;
332 type?: FluffyType;
333}
334export interface PurpleElement {
335 channel_id?: string;
336 name?: string;
337 range?: string;
338 skin_tone?: number;
339 style?: Style;
340 team_id?: string;
341 text?: string;
342 timestamp?: string;
343 type?: PurpleType;
344 unicode?: string;
345 url?: string;
346 user_id?: string;
347 usergroup_id?: string;
348 value?: string;
349}
350export interface Style {
351 bold?: boolean;
352 code?: boolean;
353 italic?: boolean;
354 strike?: boolean;
355}
356export declare enum PurpleType {
357 Broadcast = "broadcast",
358 Channel = "channel",
359 Color = "color",
360 Date = "date",
361 Emoji = "emoji",
362 Link = "link",
363 Team = "team",
364 Text = "text",
365 User = "user",
366 Usergroup = "usergroup"
367}
368export declare enum FluffyType {
369 RichTextList = "rich_text_list",
370 RichTextPreformatted = "rich_text_preformatted",
371 RichTextQuote = "rich_text_quote",
372 RichTextSection = "rich_text_section"
373}
374export interface Filter {
375 exclude_bot_users?: boolean;
376 exclude_external_shared_channels?: boolean;
377 include?: any[];
378}
379export interface InitialOptionElement {
380 description?: DescriptionElement;
381 text?: DescriptionElement;
382 url?: string;
383 value?: string;
384}
385export interface AccessoryOptionGroup {
386 label?: DescriptionElement;
387 options?: InitialOptionElement[];
388}
389export interface SlackFile {
390 id?: string;
391 url?: string;
392}
393export interface Workflow {
394 trigger?: Trigger;
395}
396export interface Trigger {
397 customizable_input_parameters?: CustomizableInputParameter[];
398 url?: string;
399}
400export interface CustomizableInputParameter {
401 name?: string;
402 value?: string;
403}
404export declare enum BlockType {
405 Actions = "actions",
406 Context = "context",
407 Divider = "divider",
408 Image = "image",
409 RichText = "rich_text",
410 Section = "section",
411 ShareShortcut = "share_shortcut",
412 Video = "video"
413}
414export interface Field {
415 short?: boolean;
416 title?: string;
417 value?: string;
418}
419export interface FileElement {
420 access?: string;
421 alt_txt?: string;
422 app_id?: string;
423 app_name?: string;
424 attachments?: any[];
425 blocks?: TitleBlockElement[];
426 bot_id?: string;
427 canvas_template_mode?: string;
428 cc?: Cc[];
429 channel_actions_count?: number;
430 channel_actions_ts?: string;
431 channels?: string[];
432 comments_count?: number;
433 converted_pdf?: string;
434 created?: number;
435 deanimate?: string;
436 deanimate_gif?: string;
437 display_as_bot?: boolean;
438 dm_mpdm_users_with_file_access?: DmMpdmUsersWithFileAccess[];
439 duration_ms?: number;
440 edit_link?: string;
441 edit_timestamp?: number;
442 editable?: boolean;
443 editor?: string;
444 editors?: string[];
445 external_id?: string;
446 external_type?: string;
447 external_url?: string;
448 file_access?: string;
449 filetype?: string;
450 from?: Cc[];
451 groups?: string[];
452 has_more?: boolean;
453 has_more_shares?: boolean;
454 has_rich_preview?: boolean;
455 headers?: Headers;
456 hls?: string;
457 hls_embed?: string;
458 id?: string;
459 image_exif_rotation?: number;
460 ims?: string[];
461 initial_comment?: InitialComment;
462 is_channel_space?: boolean;
463 is_external?: boolean;
464 is_public?: boolean;
465 is_starred?: boolean;
466 last_editor?: string;
467 last_read?: number;
468 lines?: number;
469 lines_more?: number;
470 linked_channel_id?: string;
471 media_display_type?: string;
472 media_progress?: MediaProgress;
473 mimetype?: string;
474 mode?: string;
475 mp4?: string;
476 mp4_low?: string;
477 name?: string;
478 non_owner_editable?: boolean;
479 num_stars?: number;
480 org_or_workspace_access?: string;
481 original_attachment_count?: number;
482 original_h?: string;
483 original_w?: string;
484 permalink?: string;
485 permalink_public?: string;
486 pinned_to?: string[];
487 pjpeg?: string;
488 plain_text?: string;
489 pretty_type?: string;
490 preview?: string;
491 preview_highlight?: string;
492 preview_is_truncated?: boolean;
493 preview_plain_text?: string;
494 private_channels_with_file_access_count?: number;
495 public_url_shared?: boolean;
496 quip_thread_id?: string;
497 reactions?: Reaction[];
498 saved?: Saved;
499 sent_to_self?: boolean;
500 shares?: PurpleShares;
501 show_badge?: boolean;
502 simplified_html?: string;
503 size?: number;
504 source_team?: string;
505 subject?: string;
506 subtype?: string;
507 team_pref_version_history_enabled?: boolean;
508 teams_shared_with?: any[];
509 template_conversion_ts?: number;
510 template_description?: string;
511 template_icon?: string;
512 template_name?: string;
513 template_title?: string;
514 thumb_1024?: string;
515 thumb_1024_gif?: string;
516 thumb_1024_h?: string;
517 thumb_1024_w?: string;
518 thumb_160?: string;
519 thumb_160_gif?: string;
520 thumb_160_h?: string;
521 thumb_160_w?: string;
522 thumb_360?: string;
523 thumb_360_gif?: string;
524 thumb_360_h?: string;
525 thumb_360_w?: string;
526 thumb_480?: string;
527 thumb_480_gif?: string;
528 thumb_480_h?: string;
529 thumb_480_w?: string;
530 thumb_64?: string;
531 thumb_64_gif?: string;
532 thumb_64_h?: string;
533 thumb_64_w?: string;
534 thumb_720?: string;
535 thumb_720_gif?: string;
536 thumb_720_h?: string;
537 thumb_720_w?: string;
538 thumb_80?: string;
539 thumb_800?: string;
540 thumb_800_gif?: string;
541 thumb_800_h?: string;
542 thumb_800_w?: string;
543 thumb_80_gif?: string;
544 thumb_80_h?: string;
545 thumb_80_w?: string;
546 thumb_960?: string;
547 thumb_960_gif?: string;
548 thumb_960_h?: string;
549 thumb_960_w?: string;
550 thumb_gif?: string;
551 thumb_pdf?: string;
552 thumb_pdf_h?: string;
553 thumb_pdf_w?: string;
554 thumb_tiny?: string;
555 thumb_video?: string;
556 thumb_video_h?: number;
557 thumb_video_w?: number;
558 timestamp?: number;
559 title?: string;
560 title_blocks?: TitleBlockElement[];
561 to?: Cc[];
562 transcription?: Transcription;
563 update_notification?: number;
564 updated?: number;
565 url_private?: string;
566 url_private_download?: string;
567 url_static_preview?: string;
568 user?: string;
569 user_team?: string;
570 username?: string;
571 vtt?: string;
572}
573export interface Cc {
574 address?: string;
575 name?: string;
576 original?: string;
577}
578export interface DmMpdmUsersWithFileAccess {
579 access?: string;
580 user_id?: string;
581}
582export interface Headers {
583 date?: string;
584 in_reply_to?: string;
585 message_id?: string;
586 reply_to?: string;
587}
588export interface InitialComment {
589 channel?: string;
590 comment?: string;
591 created?: number;
592 id?: string;
593 is_intro?: boolean;
594 timestamp?: number;
595 user?: string;
596}
597export interface MediaProgress {
598 duration_ms?: number;
599 max_offset_ms?: number;
600 offset_ms?: number;
601}
602export interface Reaction {
603 count?: number;
604 name?: string;
605 url?: string;
606 users?: string[];
607}
608export interface Saved {
609 date_completed?: number;
610 date_due?: number;
611 is_archived?: boolean;
612 state?: string;
613}
614export interface PurpleShares {
615 private?: {
616 [key: string]: Private[];
617 };
618 public?: {
619 [key: string]: Private[];
620 };
621}
622export interface Private {
623 access?: string;
624 channel_name?: string;
625 date_last_shared?: number;
626 latest_reply?: string;
627 reply_count?: number;
628 reply_users?: string[];
629 reply_users_count?: number;
630 share_user_id?: string;
631 source?: string;
632 team_id?: string;
633 thread_ts?: string;
634 ts?: string;
635}
636export interface Transcription {
637 locale?: string;
638 status?: string;
639}
640export interface MessageBlock {
641 channel?: string;
642 message?: Message;
643 team?: string;
644 ts?: string;
645}
646export interface Message {
647 app_id?: string;
648 attachments?: any[];
649 blocks?: TitleBlockElement[];
650 bot_id?: string;
651 bot_link?: string;
652 bot_profile?: Bot;
653 channel?: string;
654 client_msg_id?: string;
655 comment?: Comment;
656 display_as_bot?: boolean;
657 edited?: Edited;
658 file?: MessageFile;
659 files?: any[];
660 hidden?: boolean;
661 icons?: MessageIcons;
662 inviter?: string;
663 is_intro?: boolean;
664 is_locked?: boolean;
665 is_starred?: boolean;
666 is_thread_broadcast?: boolean;
667 item?: Comment;
668 item_type?: string;
669 last_read?: string;
670 latest_reply?: string;
671 metadata?: MessageMetadata;
672 no_notifications?: boolean;
673 parent_user_id?: string;
674 pinned_to?: any[];
675 purpose?: string;
676 reactions?: any[];
677 replies?: any[];
678 reply_count?: number;
679 reply_users?: any[];
680 reply_users_count?: number;
681 room?: Room;
682 root?: Root;
683 subscribed?: boolean;
684 subtype?: string;
685 team?: string;
686 text?: string;
687 thread_ts?: string;
688 topic?: string;
689 ts?: string;
690 type?: string;
691 unfurl_links?: boolean;
692 unfurl_media?: boolean;
693 upload?: boolean;
694 user?: string;
695 username?: string;
696 wibblr?: boolean;
697 x_files?: any[];
698}
699export interface Comment {
700 comment?: string;
701 created?: string;
702 display_as_bot?: boolean;
703 edit_link?: string;
704 editable?: boolean;
705 external_type?: string;
706 filetype?: string;
707 has_rich_preview?: boolean;
708 id?: string;
709 is_external?: boolean;
710 is_intro?: boolean;
711 is_public?: boolean;
712 is_starred?: boolean;
713 lines?: number;
714 lines_more?: number;
715 media_display_type?: string;
716 mimetype?: string;
717 mode?: string;
718 name?: string;
719 permalink?: string;
720 permalink_public?: boolean;
721 pretty_type?: string;
722 preview?: string;
723 preview_highlight?: string;
724 preview_is_truncated?: boolean;
725 public_url_shared?: boolean;
726 size?: number;
727 timestamp?: string;
728 title?: string;
729 url_private?: string;
730 url_private_download?: boolean;
731 user?: string;
732 username?: string;
733}
734export interface Edited {
735 ts?: string;
736 user?: string;
737}
738export interface MessageFile {
739 access?: string;
740 alt_txt?: string;
741 app_id?: string;
742 app_name?: string;
743 attachments?: any[];
744 blocks?: any[];
745 bot_id?: string;
746 canvas_template_mode?: string;
747 cc?: any[];
748 channel_actions_count?: number;
749 channel_actions_ts?: string;
750 channels?: any[];
751 comments_count?: number;
752 converted_pdf?: string;
753 created?: number;
754 deanimate?: string;
755 deanimate_gif?: string;
756 display_as_bot?: boolean;
757 dm_mpdm_users_with_file_access?: any[];
758 duration_ms?: number;
759 edit_link?: string;
760 edit_timestamp?: number;
761 editable?: boolean;
762 editor?: string;
763 editors?: any[];
764 external_id?: string;
765 external_type?: string;
766 external_url?: string;
767 file_access?: string;
768 filetype?: string;
769 from?: any[];
770 groups?: any[];
771 has_more?: boolean;
772 has_more_shares?: boolean;
773 has_rich_preview?: boolean;
774 headers?: Headers;
775 hls?: string;
776 hls_embed?: string;
777 id?: string;
778 image_exif_rotation?: number;
779 ims?: any[];
780 initial_comment?: InitialComment;
781 is_channel_space?: boolean;
782 is_external?: boolean;
783 is_public?: boolean;
784 is_starred?: boolean;
785 last_editor?: string;
786 last_read?: number;
787 lines?: number;
788 lines_more?: number;
789 linked_channel_id?: string;
790 media_display_type?: string;
791 media_progress?: MediaProgress;
792 mimetype?: string;
793 mode?: string;
794 mp4?: string;
795 mp4_low?: string;
796 name?: string;
797 non_owner_editable?: boolean;
798 num_stars?: number;
799 org_or_workspace_access?: string;
800 original_attachment_count?: number;
801 original_h?: string;
802 original_w?: string;
803 permalink?: string;
804 permalink_public?: string;
805 pinned_to?: any[];
806 pjpeg?: string;
807 plain_text?: string;
808 pretty_type?: string;
809 preview?: string;
810 preview_highlight?: string;
811 preview_is_truncated?: boolean;
812 preview_plain_text?: string;
813 private_channels_with_file_access_count?: number;
814 public_url_shared?: boolean;
815 quip_thread_id?: string;
816 reactions?: any[];
817 saved?: Saved;
818 sent_to_self?: boolean;
819 shares?: FluffyShares;
820 show_badge?: boolean;
821 simplified_html?: string;
822 size?: number;
823 source_team?: string;
824 subject?: string;
825 subtype?: string;
826 team_pref_version_history_enabled?: boolean;
827 teams_shared_with?: any[];
828 template_conversion_ts?: number;
829 template_description?: string;
830 template_icon?: string;
831 template_name?: string;
832 template_title?: string;
833 thumb_1024?: string;
834 thumb_1024_gif?: string;
835 thumb_1024_h?: string;
836 thumb_1024_w?: string;
837 thumb_160?: string;
838 thumb_160_gif?: string;
839 thumb_160_h?: string;
840 thumb_160_w?: string;
841 thumb_360?: string;
842 thumb_360_gif?: string;
843 thumb_360_h?: string;
844 thumb_360_w?: string;
845 thumb_480?: string;
846 thumb_480_gif?: string;
847 thumb_480_h?: string;
848 thumb_480_w?: string;
849 thumb_64?: string;
850 thumb_64_gif?: string;
851 thumb_64_h?: string;
852 thumb_64_w?: string;
853 thumb_720?: string;
854 thumb_720_gif?: string;
855 thumb_720_h?: string;
856 thumb_720_w?: string;
857 thumb_80?: string;
858 thumb_800?: string;
859 thumb_800_gif?: string;
860 thumb_800_h?: string;
861 thumb_800_w?: string;
862 thumb_80_gif?: string;
863 thumb_80_h?: string;
864 thumb_80_w?: string;
865 thumb_960?: string;
866 thumb_960_gif?: string;
867 thumb_960_h?: string;
868 thumb_960_w?: string;
869 thumb_gif?: string;
870 thumb_pdf?: string;
871 thumb_pdf_h?: string;
872 thumb_pdf_w?: string;
873 thumb_tiny?: string;
874 thumb_video?: string;
875 thumb_video_h?: number;
876 thumb_video_w?: number;
877 timestamp?: number;
878 title?: string;
879 title_blocks?: any[];
880 to?: any[];
881 transcription?: Transcription;
882 update_notification?: number;
883 updated?: number;
884 url_private?: string;
885 url_private_download?: string;
886 url_static_preview?: string;
887 user?: string;
888 user_team?: string;
889 username?: string;
890 vtt?: string;
891}
892export interface FluffyShares {
893}
894export interface MessageIcons {
895 emoji?: string;
896 image_36?: string;
897 image_48?: string;
898 image_64?: string;
899 image_72?: string;
900}
901export interface MessageMetadata {
902 event_type?: string;
903}
904export interface Room {
905 app_id?: string;
906 attached_file_ids?: any[];
907 background_id?: string;
908 call_family?: string;
909 canvas_background?: string;
910 canvas_thread_ts?: string;
911 channels?: any[];
912 created_by?: string;
913 date_end?: number;
914 date_start?: number;
915 display_id?: string;
916 external_unique_id?: string;
917 has_ended?: boolean;
918 id?: string;
919 is_dm_call?: boolean;
920 is_prewarmed?: boolean;
921 is_scheduled?: boolean;
922 media_backend_type?: string;
923 media_server?: string;
924 name?: string;
925 participant_history?: any[];
926 participants?: any[];
927 participants_camera_off?: any[];
928 participants_camera_on?: any[];
929 participants_screenshare_off?: any[];
930 participants_screenshare_on?: any[];
931 thread_root_ts?: string;
932 was_accepted?: boolean;
933 was_missed?: boolean;
934 was_rejected?: boolean;
935}
936export interface Root {
937 bot_id?: string;
938 bot_profile?: Bot;
939 edited?: Edited;
940 icons?: MessageIcons;
941 last_read?: string;
942 latest_reply?: string;
943 mrkdwn?: boolean;
944 no_notifications?: boolean;
945 parent_user_id?: string;
946 replies?: Edited[];
947 reply_count?: number;
948 reply_users?: string[];
949 reply_users_count?: number;
950 room?: Room;
951 subscribed?: boolean;
952 subtype?: string;
953 team?: string;
954 text?: string;
955 thread_ts?: string;
956 ts?: string;
957 type?: string;
958 unread_count?: number;
959 user?: string;
960 username?: string;
961}
962export interface AttachmentMetadata {
963 extension?: string;
964 format?: string;
965 original_h?: number;
966 original_w?: number;
967 rotation?: number;
968 thumb_160?: boolean;
969 thumb_360_h?: number;
970 thumb_360_w?: number;
971 thumb_64?: boolean;
972 thumb_80?: boolean;
973 thumb_tiny?: string;
974}
975export interface Preview {
976 can_remove?: boolean;
977 icon_url?: string;
978 subtitle?: DescriptionElement;
979 title?: DescriptionElement;
980 type?: string;
981}
982export interface LatestBlock {
983 accessory?: Accessory;
984 alt_text?: string;
985 api_decoration_available?: boolean;
986 app_collaborators?: string[];
987 app_id?: string;
988 author_name?: string;
989 block_id?: string;
990 bot_user_id?: string;
991 button_label?: string;
992 call?: Call;
993 call_id?: string;
994 description?: DescriptionElement;
995 developer_trace_id?: string;
996 dispatch_action?: boolean;
997 element?: Accessory;
998 elements?: Accessory[];
999 external_id?: string;
1000 fallback?: string;
1001 fields?: DescriptionElement[];
1002 file?: MessageFile;
1003 file_id?: string;
1004 function_trigger_id?: string;
1005 hint?: DescriptionElement;
1006 image_bytes?: number;
1007 image_height?: number;
1008 image_url?: string;
1009 image_width?: number;
1010 is_animated?: boolean;
1011 is_workflow_app?: boolean;
1012 label?: DescriptionElement;
1013 optional?: boolean;
1014 owning_team_id?: string;
1015 provider_icon_url?: string;
1016 provider_name?: string;
1017 sales_home_workflow_app_type?: number;
1018 share_url?: string;
1019 slack_file?: SlackFile;
1020 source?: string;
1021 text?: DescriptionElement;
1022 thumbnail_url?: string;
1023 title?: DescriptionElement;
1024 title_url?: string;
1025 trigger_subtype?: string;
1026 trigger_type?: string;
1027 type?: BlockType;
1028 url?: string;
1029 video_url?: string;
1030 workflow_id?: string;
1031}
1032export interface Call {
1033 media_backend_type?: string;
1034 v1?: V1;
1035}
1036export interface V1 {
1037 active_participants?: Participant[];
1038 all_participants?: Participant[];
1039 app_icon_urls?: AppIconUrls;
1040 app_id?: string;
1041 channels?: string[];
1042 created_by?: string;
1043 date_end?: number;
1044 date_start?: number;
1045 desktop_app_join_url?: string;
1046 display_id?: string;
1047 has_ended?: boolean;
1048 id?: string;
1049 is_dm_call?: boolean;
1050 join_url?: string;
1051 name?: string;
1052 was_accepted?: boolean;
1053 was_missed?: boolean;
1054 was_rejected?: boolean;
1055}
1056export interface Participant {
1057 avatar_url?: string;
1058 display_name?: string;
1059 external_id?: string;
1060 slack_id?: string;
1061}
1062export interface AppIconUrls {
1063 image_1024?: string;
1064 image_128?: string;
1065 image_192?: string;
1066 image_32?: string;
1067 image_36?: string;
1068 image_48?: string;
1069 image_512?: string;
1070 image_64?: string;
1071 image_72?: string;
1072 image_96?: string;
1073 image_original?: string;
1074}
1075export interface Im {
1076 context_team_id?: string;
1077 created?: number;
1078 has_pins?: boolean;
1079 id?: string;
1080 is_archived?: boolean;
1081 is_im?: boolean;
1082 is_open?: boolean;
1083 is_org_shared?: boolean;
1084 last_read?: string;
1085 priority?: number;
1086 user?: string;
1087}
1088export interface Links {
1089 domains_ts?: number;
1090}
1091export interface ResponseMetadata {
1092 messages?: string[];
1093}
1094export interface Self {
1095 created?: number;
1096 first_login?: number;
1097 id?: string;
1098 manual_presence?: string;
1099 name?: string;
1100 prefs?: SelfPrefs;
1101}
1102export interface SelfPrefs {
1103 a11y_animations?: boolean;
1104 a11y_dyslexic?: boolean;
1105 a11y_play_sound_for_incoming_dm?: boolean;
1106 a11y_play_sound_for_incoming_dm_choice?: string;
1107 a11y_play_sound_for_sent_dm?: boolean;
1108 a11y_play_sound_for_sent_dm_choice?: string;
1109 a11y_read_out_incoming_dm?: boolean;
1110 a11y_screen_reader_message_label_date_time_first?: boolean;
1111 activity_view?: string;
1112 add_apps_prompt_dismissed?: boolean;
1113 add_channel_prompt_dismissed?: boolean;
1114 add_prompt_interacted?: boolean;
1115 all_channels_loud?: boolean;
1116 all_notifications_prefs?: string;
1117 all_unreads_section_filter?: string;
1118 all_unreads_sort_order?: string;
1119 allow_calls_to_set_current_status?: boolean;
1120 allow_cmd_tab_iss?: boolean;
1121 allowed_unfurl_senders?: string;
1122 analytics_upsell_coachmark_seen?: boolean;
1123 app_manifest_schema_format?: string;
1124 app_subdomain_check_completed?: number;
1125 arrow_history?: boolean;
1126 at_channel_suppressed_channels?: string;
1127 box_enabled?: boolean;
1128 browsers_dismissed_channels_low_results_education?: boolean;
1129 browsers_dismissed_files_low_results_education?: boolean;
1130 browsers_dismissed_initial_activity_education?: boolean;
1131 browsers_dismissed_initial_drafts_education?: boolean;
1132 browsers_dismissed_initial_saved_education?: boolean;
1133 browsers_dismissed_people_low_results_education?: boolean;
1134 browsers_dismissed_user_groups_low_results_education?: boolean;
1135 browsers_seen_initial_activity_education?: boolean;
1136 browsers_seen_initial_channels_education?: boolean;
1137 browsers_seen_initial_drafts_education?: boolean;
1138 browsers_seen_initial_files_education?: boolean;
1139 browsers_seen_initial_people_education?: boolean;
1140 browsers_seen_initial_saved_education?: boolean;
1141 browsers_seen_initial_user_groups_education?: boolean;
1142 calls_disconnect_on_lock?: boolean;
1143 calls_survey_last_seen?: string;
1144 channel_canvas_variant?: number;
1145 channel_sections?: string;
1146 channel_sidebar_hide_browse_dms_link?: boolean;
1147 channel_sidebar_hide_invite?: boolean;
1148 channel_sort?: string;
1149 chime_access_check_completed?: number;
1150 clicked_close_onboarding_synth_view_banner?: boolean;
1151 client_logs_pri?: string;
1152 clips_feedback_survey_last_trigger_attempt?: number;
1153 color_names_in_list?: boolean;
1154 composer_nux?: string;
1155 confirm_clear_all_unreads?: boolean;
1156 confirm_sh_call_start?: boolean;
1157 confirm_user_marked_away?: boolean;
1158 connect_dm_early_access?: boolean;
1159 contextual_help_reset_count?: number;
1160 contextual_message_shortcuts_modal_was_seen?: boolean;
1161 convert_emoticons?: boolean;
1162 deprecation_banner_last_seen?: number;
1163 deprecation_modal_last_seen?: number;
1164 deprecation_toast_last_seen?: number;
1165 desktop_client_ids?: string;
1166 dismissed_app_config_redesign_coachmark?: boolean;
1167 dismissed_app_launcher_atlassian_promo?: boolean;
1168 dismissed_app_launcher_limit?: boolean;
1169 dismissed_app_launcher_welcome?: boolean;
1170 dismissed_app_manifest_coachmark?: boolean;
1171 dismissed_app_manifest_description?: boolean;
1172 dismissed_banner_download_ssb_prompt?: boolean;
1173 dismissed_connect_auto_approval_modal?: string;
1174 dismissed_fullscreen_download_ssb_prompt?: boolean;
1175 dismissed_gov_slack_first_time_popup?: boolean;
1176 dismissed_installed_app_dm_suggestions?: string;
1177 dismissed_scdm_education?: boolean;
1178 dismissed_scroll_search_tooltip_count?: number;
1179 dismissed_sent_page_education?: boolean;
1180 display_display_names?: boolean;
1181 display_real_names_override?: number;
1182 dnd_after_friday?: string;
1183 dnd_after_monday?: string;
1184 dnd_after_saturday?: string;
1185 dnd_after_sunday?: string;
1186 dnd_after_thursday?: string;
1187 dnd_after_tuesday?: string;
1188 dnd_after_wednesday?: string;
1189 dnd_before_friday?: string;
1190 dnd_before_monday?: string;
1191 dnd_before_saturday?: string;
1192 dnd_before_sunday?: string;
1193 dnd_before_thursday?: string;
1194 dnd_before_tuesday?: string;
1195 dnd_before_wednesday?: string;
1196 dnd_custom_new_badge_seen?: boolean;
1197 dnd_days?: string;
1198 dnd_enabled?: boolean;
1199 dnd_enabled_friday?: string;
1200 dnd_enabled_monday?: string;
1201 dnd_enabled_saturday?: string;
1202 dnd_enabled_sunday?: string;
1203 dnd_enabled_thursday?: string;
1204 dnd_enabled_tuesday?: string;
1205 dnd_enabled_wednesday?: string;
1206 dnd_end_hour?: string;
1207 dnd_notification_schedule_new_badge_seen?: boolean;
1208 dnd_start_hour?: string;
1209 dnd_weekdays_off_allday?: boolean;
1210 dropbox_enabled?: boolean;
1211 edge_upload_proxy_check_completed?: number;
1212 email_alerts?: string;
1213 email_alerts_sleep_until?: number;
1214 email_developer?: boolean;
1215 email_offers?: boolean;
1216 email_research?: boolean;
1217 email_tips?: boolean;
1218 email_weekly?: boolean;
1219 emoji_autocomplete_big?: boolean;
1220 emoji_mode?: string;
1221 emoji_packs_clicked_collection_cta?: boolean;
1222 emoji_packs_clicked_picker_cta?: boolean;
1223 emoji_packs_clicked_picker_post_install_cta?: boolean;
1224 emoji_packs_most_recent_available_time?: number;
1225 emoji_use?: string;
1226 emoji_use_org?: string;
1227 enable_all_dms_view?: boolean;
1228 enable_app_browser_view?: boolean;
1229 enable_app_config_redesign?: boolean;
1230 enable_channel_browser_view?: boolean;
1231 enable_drafts_view?: boolean;
1232 enable_file_browser_view?: boolean;
1233 enable_file_browser_view_for_docs?: boolean;
1234 enable_hq_view?: boolean;
1235 enable_later_view?: boolean;
1236 enable_media_captions?: boolean;
1237 enable_mentions_and_reactions_view?: boolean;
1238 enable_people_browser_view?: boolean;
1239 enable_quip_file_browser_view?: boolean;
1240 enable_react_emoji_picker?: boolean;
1241 enable_reminders_view?: boolean;
1242 enable_saved_items_view?: boolean;
1243 enable_scheduled_view?: boolean;
1244 enable_sent_view?: boolean;
1245 enable_shortcuts_view?: boolean;
1246 enable_slack_connect_view?: boolean;
1247 enable_slack_connect_view_2?: number;
1248 enable_streamline_view?: boolean;
1249 enable_unread_view?: boolean;
1250 ent_org_wide_channels_sidebar?: boolean;
1251 enter_is_special_in_tbt?: boolean;
1252 enterprise_mdm_custom_msg?: string;
1253 enterprise_migration_seen?: boolean;
1254 expand_inline_imgs?: boolean;
1255 expand_internal_inline_imgs?: boolean;
1256 expand_non_media_attachments?: boolean;
1257 expand_snippets?: boolean;
1258 f_key_search?: boolean;
1259 failover_proxy_check_completed?: number;
1260 file_picker_variant?: number;
1261 first_seen_new_badge_in_more_menu_sidebar?: number;
1262 first_seen_sent_page_in_sidebar?: number;
1263 flannel_server_pool?: string;
1264 folder_data?: string;
1265 folders_enabled?: boolean;
1266 frecency?: string;
1267 frecency_ent_jumper?: string;
1268 frecency_jumper?: string;
1269 fuller_timestamps?: boolean;
1270 graphic_emoticons?: boolean;
1271 growls_enabled?: boolean;
1272 growth_all_banners_prefs?: string;
1273 growth_msg_limit_approaching_cta_count?: number;
1274 growth_msg_limit_approaching_cta_ts?: number;
1275 growth_msg_limit_long_reached_cta_count?: number;
1276 growth_msg_limit_long_reached_cta_last_ts?: number;
1277 growth_msg_limit_reached_cta_count?: number;
1278 growth_msg_limit_reached_cta_last_ts?: number;
1279 growth_msg_limit_sixty_day_banner_cta_count?: number;
1280 growth_msg_limit_sixty_day_banner_cta_last_ts?: number;
1281 has_acknowledged_shortcut_speedbump?: boolean;
1282 has_created_channel?: boolean;
1283 has_created_channel_section?: boolean;
1284 has_dismissed_google_directory_coachmark?: boolean;
1285 has_drafted_message?: boolean;
1286 has_invited?: boolean;
1287 has_joined_huddle?: boolean;
1288 has_received_mention_or_reaction?: boolean;
1289 has_received_threaded_message?: boolean;
1290 has_recently_shared_a_channel?: boolean;
1291 has_searched?: boolean;
1292 has_sent_ten_messages?: number;
1293 has_starred_item?: boolean;
1294 has_uploaded?: boolean;
1295 has_used_quickswitcher_shortcut?: boolean;
1296 help_flexpane_clips_card_seen?: boolean;
1297 help_flexpane_slack_connect_card_seen?: boolean;
1298 help_menu_open_timestamp?: number;
1299 help_modal_consult_banner_dismissed?: boolean;
1300 help_modal_open_timestamp?: number;
1301 hidden_users?: string;
1302 hide_external_members_sharing_speed_bump?: boolean;
1303 hide_hex_swatch?: boolean;
1304 hide_user_group_info_pane?: boolean;
1305 highlight_words?: string;
1306 huddle_invite_sound?: string;
1307 huddle_survey_last_seen?: string;
1308 huddles_allow_smart_notif?: boolean;
1309 huddles_cc_by_default?: boolean;
1310 huddles_chime_new_endpoints_check_completed?: number;
1311 huddles_disconnect_on_lock?: boolean;
1312 huddles_global_mute?: boolean;
1313 huddles_mini_panel?: boolean;
1314 huddles_mute_by_default?: boolean;
1315 huddles_play_music_when_last?: boolean;
1316 huddles_reactions_play_sound?: boolean;
1317 huddles_reactions_read_out_loud?: boolean;
1318 huddles_set_status?: boolean;
1319 huddles_show_shouty_rooster?: boolean;
1320 huddles_variant?: number;
1321 ia_details_coachmark_seen?: boolean;
1322 ia_platform_actions_lab?: number;
1323 ia_slackbot_survey_timestamp_48h?: number;
1324 ia_slackbot_survey_timestamp_7d?: number;
1325 ia_top_nav_theme?: string;
1326 iap1_lab?: number;
1327 identity_links_global_prefs?: string;
1328 identity_links_prefs?: string;
1329 in_interactive_mas_migration_flow?: boolean;
1330 in_prod_surveys_enabled?: boolean;
1331 inbox_views_workspace_filter?: string;
1332 invite_accepted_notifications_muted?: boolean;
1333 join_calls_device_settings?: string;
1334 joiner_message_suggestion_dismissed?: boolean;
1335 joiner_notifications_muted?: boolean;
1336 jumbomoji?: boolean;
1337 k_key_omnibox?: boolean;
1338 k_key_omnibox_auto_hide_count?: number;
1339 last_dismissed_scroll_search_tooltip_timestamp?: number;
1340 last_seen_at_channel_warning?: number;
1341 last_seen_sections_unreads_only_prompt_timestamp?: number;
1342 last_snippet_type?: string;
1343 lessons_enabled?: boolean;
1344 load_lato_2?: boolean;
1345 locale?: string;
1346 locales_enabled?: LocalesEnabled;
1347 loud_channels?: string;
1348 loud_channels_set?: string;
1349 ls_disabled?: boolean;
1350 mac_ssb_bounce?: string;
1351 mac_ssb_bullet?: boolean;
1352 mark_msgs_read_immediately?: boolean;
1353 media_muted?: boolean;
1354 media_playback_speed?: number;
1355 media_volume?: number;
1356 mentions_exclude_at_channels?: boolean;
1357 mentions_exclude_at_user_groups?: boolean;
1358 mentions_exclude_reactions?: boolean;
1359 message_navigation_toast_was_seen?: boolean;
1360 messages_theme?: string;
1361 mobile_channel_list_show_all_dms?: boolean;
1362 mobile_channel_list_sort?: string;
1363 msg_input_send_btn?: boolean;
1364 msg_input_send_btn_auto_set?: boolean;
1365 msg_input_sticky_composer?: boolean;
1366 mute_sounds?: boolean;
1367 muted_channels?: string;
1368 mx_calendar_type?: string;
1369 needs_initial_password_set?: boolean;
1370 never_channels?: string;
1371 new_msg_snd?: string;
1372 newxp_seen_help_message?: number;
1373 newxp_seen_last_message?: number;
1374 newxp_suggested_channels?: string;
1375 no_created_overlays?: boolean;
1376 no_invites_widget_in_sidebar?: boolean;
1377 no_joined_overlays?: boolean;
1378 no_macelectron_banner?: boolean;
1379 no_macssb1_banner?: boolean;
1380 no_macssb2_banner?: boolean;
1381 no_omnibox_in_channels?: boolean;
1382 no_text_in_notifications?: boolean;
1383 no_winssb1_banner?: boolean;
1384 notification_center_filters?: string;
1385 notifications_view?: string;
1386 obey_inline_img_limit?: boolean;
1387 onboarding_cancelled?: boolean;
1388 onboarding_complete?: boolean;
1389 onboarding_slackbot_conversation_step?: number;
1390 onboarding_state?: number;
1391 onboarding_tip_opt_out?: boolean;
1392 open_quip_doc_in_flexpane?: boolean;
1393 opened_slackbot_dm?: boolean;
1394 overloaded_message_enabled?: boolean;
1395 pagekeys_handled?: boolean;
1396 phc_dismissed?: string;
1397 phc_viewed?: string;
1398 plain_text_mode?: boolean;
1399 posts_formatting_guide?: boolean;
1400 preferred_skin_tone?: string;
1401 privacy_policy_seen?: boolean;
1402 progressive_disclosure_state?: string;
1403 prompted_for_email_disabling?: boolean;
1404 purchaser?: boolean;
1405 push_at_channel_suppressed_channels?: string;
1406 push_dm_alert?: boolean;
1407 push_everything?: boolean;
1408 push_idle_wait?: number;
1409 push_loud_channels?: string;
1410 push_loud_channels_set?: string;
1411 push_mention_alert?: boolean;
1412 push_mention_channels?: string;
1413 push_show_preview?: boolean;
1414 push_sound?: string;
1415 reached_all_dms_disclosure?: boolean;
1416 reaction_notifications?: string;
1417 reminder_notification_time?: string;
1418 require_at?: boolean;
1419 saved_searches?: string;
1420 saved_view?: string;
1421 scdm_trial_offer_banner?: string;
1422 search_channel_sort?: string;
1423 search_exclude_bots?: boolean;
1424 search_exclude_channels?: string;
1425 search_file_sort?: string;
1426 search_hide_deactivated_users?: boolean;
1427 search_hide_my_channels?: boolean;
1428 search_only_current_team?: boolean;
1429 search_only_my_channels?: boolean;
1430 search_only_show_online?: boolean;
1431 search_people_sort?: string;
1432 search_sort?: string;
1433 seen_a11y_pref_setup_coachmark?: boolean;
1434 seen_administration_menu?: boolean;
1435 seen_app_space_coachmark?: boolean;
1436 seen_app_space_tutorial?: boolean;
1437 seen_bookmarks_intro?: boolean;
1438 seen_calls_interactive_coachmark?: boolean;
1439 seen_channel_browser_admin_coachmark?: boolean;
1440 seen_channel_email_tooltip?: boolean;
1441 seen_channel_search?: boolean;
1442 seen_connect_dm_coachmark?: boolean;
1443 seen_connect_section_coachmark?: boolean;
1444 seen_contextual_message_shortcuts_modal?: boolean;
1445 seen_corporate_export_alert?: boolean;
1446 seen_custom_status_badge?: boolean;
1447 seen_custom_status_callout?: boolean;
1448 seen_custom_status_expiration_badge?: boolean;
1449 seen_domain_invite_reminder?: boolean;
1450 seen_drafts_section_coachmark?: boolean;
1451 seen_edit_mode?: boolean;
1452 seen_edit_mode_edu?: boolean;
1453 seen_emoji_pack_cta?: number;
1454 seen_emoji_pack_dialog?: boolean;
1455 seen_emoji_update_overlay_coachmark?: boolean;
1456 seen_existing_install_coachmark?: boolean;
1457 seen_first_install_coachmark?: boolean;
1458 seen_floating_sidebar_coachmark?: boolean;
1459 seen_gdrive_coachmark?: boolean;
1460 seen_guest_admin_slackbot_announcement?: boolean;
1461 seen_highlights_arrows_coachmark?: boolean;
1462 seen_highlights_coachmark?: boolean;
1463 seen_highlights_warm_welcome?: boolean;
1464 seen_ia_education?: boolean;
1465 seen_intl_channel_names_coachmark?: boolean;
1466 seen_japanese_locale_change_message?: boolean;
1467 seen_keyboard_shortcuts_coachmark?: boolean;
1468 seen_link_unfurl_coachmark?: boolean;
1469 seen_locale_change_message?: number;
1470 seen_markdown_paste_shortcut?: number;
1471 seen_markdown_paste_toast?: number;
1472 seen_member_invite_reminder?: boolean;
1473 seen_message_navigation_educational_toast?: boolean;
1474 seen_name_tagging_coachmark?: boolean;
1475 seen_new_badge_in_more_menu_sidebar?: boolean;
1476 seen_new_search_ui?: boolean;
1477 seen_onboarding_banner?: boolean;
1478 seen_onboarding_channels?: boolean;
1479 seen_onboarding_direct_messages?: boolean;
1480 seen_onboarding_invites?: boolean;
1481 seen_onboarding_private_groups?: boolean;
1482 seen_onboarding_recent_mentions?: boolean;
1483 seen_onboarding_search?: boolean;
1484 seen_onboarding_slackbot_conversation?: boolean;
1485 seen_onboarding_starred_items?: boolean;
1486 seen_onboarding_start?: boolean;
1487 seen_onboarding_synth_view?: boolean;
1488 seen_onboarding_synth_view_count?: number;
1489 seen_onboarding_synth_view_count_v2?: number;
1490 seen_onboarding_synth_view_v2?: boolean;
1491 seen_p3_locale_change_message_ko_kr?: number;
1492 seen_people_search?: boolean;
1493 seen_people_search_count?: number;
1494 seen_quickswitcher_shortcut_tip_count?: number;
1495 seen_sc_menu_coachmark?: boolean;
1496 seen_sc_page?: boolean;
1497 seen_sc_page_banner?: boolean;
1498 seen_schedule_send_coachmark?: boolean;
1499 seen_sections_unreads_only_prompt_count?: number;
1500 seen_sent_page_in_sidebar?: boolean;
1501 seen_shared_channels_coachmark?: boolean;
1502 seen_shared_channels_opt_in_change_message?: boolean;
1503 seen_shdep_slackbot_message?: boolean;
1504 seen_single_emoji_msg?: boolean;
1505 seen_sonic_deluxe_toast?: number;
1506 seen_ssb_prompt?: boolean;
1507 seen_threads_notification_banner?: boolean;
1508 seen_toast_new_locale_launch?: string;
1509 seen_toast_new_locale_launch_ts?: number;
1510 seen_unread_view_coachmark?: boolean;
1511 seen_welcome_2?: boolean;
1512 seen_workflow_builder_deluxe_toast?: boolean;
1513 seen_wysiwyg_deluxe_toast?: boolean;
1514 separate_private_channels?: boolean;
1515 separate_shared_channels?: boolean;
1516 set_a11y_prefs_new_user?: boolean;
1517 set_tz_automatically?: boolean;
1518 shdep_promo_code_submitted?: boolean;
1519 should_show_connect_section?: boolean;
1520 should_show_contextual_help_for_conversation_navigation?: boolean;
1521 should_show_contextual_help_for_jump_to_conversation?: boolean;
1522 should_show_contextual_help_for_section_navigation?: boolean;
1523 should_show_contextual_help_for_thread_navigation?: boolean;
1524 should_show_unsend_message_confirmation?: boolean;
1525 show_all_skin_tones?: boolean;
1526 show_autocomplete_help?: number;
1527 show_ent_onboarding?: boolean;
1528 show_gov_slack_context_bar_banner?: boolean;
1529 show_ia_tour_relaunch?: number;
1530 show_jumper_scores?: boolean;
1531 show_memory_instrument?: boolean;
1532 show_quick_reactions?: boolean;
1533 show_shared_channels_education_banner?: boolean;
1534 show_sidebar_avatars?: boolean;
1535 show_sidebar_quickswitcher_button?: boolean;
1536 show_typing?: boolean;
1537 sidebar_behavior?: string;
1538 sidebar_pref_dismissed_tip?: boolean;
1539 sidebar_theme?: string;
1540 sidebar_theme_custom_values?: string;
1541 slack_connect_invite_should_badge_sidebar?: boolean;
1542 snippet_editor_wrap_long_lines?: boolean;
1543 spaces_new_xp_banner_dismissed?: boolean;
1544 ss_emojis?: boolean;
1545 ssb_space_window?: string;
1546 start_scroll_at_oldest?: boolean;
1547 suggestions_request_id?: string;
1548 sunset_interactive_message_views?: number;
1549 suppress_external_invites_from_compose_warning?: boolean;
1550 suppress_link_warning?: boolean;
1551 suppress_thread_mention_warning?: boolean;
1552 synth_view_prefs?: string;
1553 tab_ui_return_selects?: boolean;
1554 tasks_view?: string;
1555 threads_everything?: boolean;
1556 time24?: boolean;
1557 tractor_enabled?: boolean;
1558 tractor_experiment_group?: string;
1559 two_factor_auth_enabled?: boolean;
1560 tz?: string;
1561 underline_links?: boolean;
1562 up_to_browse_kb_shortcut?: boolean;
1563 used_custom_status_kb_shortcut?: boolean;
1564 user_colors?: string;
1565 user_customized_quick_reactions_display_feature?: number;
1566 user_customized_quick_reactions_has_customized?: boolean;
1567 user_customized_quick_reactions_use_frequently_used_emoji?: boolean;
1568 user_expectations_survey_last_trigger_attempt?: number;
1569 webapp_spellcheck?: boolean;
1570 welcome_message_hidden?: boolean;
1571 welcome_place_state?: string;
1572 whats_new_read?: number;
1573 who_can_see_account_by_searching_email?: string;
1574 who_can_share_contact_card?: string;
1575 whocanseethis_dm_mpdm_badge?: boolean;
1576 workflow_builder_coachmarks?: string;
1577 workflow_builder_intro_modal_clicked_through?: boolean;
1578 xws_dismissed_education?: boolean;
1579 xws_seen_education?: number;
1580 xws_sidebar_variant?: number;
1581}
1582export interface LocalesEnabled {
1583 'de-DE'?: string;
1584 'en-GB'?: string;
1585 'en-US'?: string;
1586 'es-ES'?: string;
1587 'es-LA'?: string;
1588 'fr-FR'?: string;
1589 'it-IT'?: string;
1590 'ja-JP'?: string;
1591 'ko-KR'?: string;
1592 'pt-BR'?: string;
1593 'ru-RU'?: string;
1594 'zh-CN'?: string;
1595 'zh-TW'?: string;
1596}
1597export interface Subteams {
1598 all?: All[];
1599 self?: string[];
1600}
1601export interface All {
1602 auto_provision?: boolean;
1603 channel_count?: number;
1604 created_by?: string;
1605 date_create?: number;
1606 date_delete?: number;
1607 date_update?: number;
1608 description?: string;
1609 enterprise_subteam_id?: string;
1610 handle?: string;
1611 id?: string;
1612 is_external?: boolean;
1613 is_subteam?: boolean;
1614 is_usergroup?: boolean;
1615 name?: string;
1616 prefs?: AllPrefs;
1617 team_id?: string;
1618 updated_by?: string;
1619 user_count?: number;
1620}
1621export interface AllPrefs {
1622 channels?: string[];
1623 groups?: Group[];
1624}
1625export interface Team {
1626 avatar_base_url?: string;
1627 date_create?: number;
1628 domain?: string;
1629 email_domain?: string;
1630 icon?: Icon;
1631 id?: string;
1632 is_verified?: boolean;
1633 limit_ts?: number;
1634 messages_count?: number;
1635 msg_edit_window_mins?: number;
1636 name?: string;
1637 onboarding_channel_id?: string;
1638 over_storage_limit?: boolean;
1639 plan?: string;
1640 prefs?: TeamPrefs;
1641 url?: string;
1642}
1643export interface Icon {
1644 image_102?: string;
1645 image_132?: string;
1646 image_230?: string;
1647 image_34?: string;
1648 image_44?: string;
1649 image_68?: string;
1650 image_88?: string;
1651 image_original?: string;
1652}
1653export interface TeamPrefs {
1654 admin_customized_quick_reactions?: string[];
1655 all_users_can_purchase?: boolean;
1656 allow_admin_retention_override?: number;
1657 allow_audio_clip_sharing_slack_connect?: boolean;
1658 allow_audio_clips?: boolean;
1659 allow_box_cfs?: boolean;
1660 allow_calls?: boolean;
1661 allow_calls_interactive_screen_sharing?: boolean;
1662 allow_clip_downloads?: string;
1663 allow_free_automated_trials?: boolean;
1664 allow_huddles?: boolean;
1665 allow_huddles_transcriptions?: boolean;
1666 allow_huddles_video?: boolean;
1667 allow_media_transcriptions?: boolean;
1668 allow_message_deletion?: boolean;
1669 allow_retention_override?: boolean;
1670 allow_spaceship?: string;
1671 allow_sponsored_slack_connections?: boolean;
1672 allow_video_clip_sharing_slack_connect?: boolean;
1673 allow_video_clips?: boolean;
1674 app_dir_only?: boolean;
1675 app_management_apps?: string[];
1676 app_whitelist_enabled?: boolean;
1677 auth_mode?: string;
1678 block_file_download?: boolean;
1679 box_app_installed?: boolean;
1680 calls_apps?: CallsApps;
1681 calls_locations?: string[];
1682 can_accept_slack_connect_channel_invites?: boolean;
1683 can_create_external_limited_invite?: boolean;
1684 can_create_slack_connect_channel_invite?: boolean;
1685 can_receive_shared_channels_invites?: boolean;
1686 channel_email_addresses_enabled?: boolean;
1687 compliance_export_start?: number;
1688 content_review_enabled?: boolean;
1689 created_with_google?: boolean;
1690 custom_status_default_emoji?: string;
1691 custom_status_presets?: Array<string[]>;
1692 daily_prompts_enabled?: boolean;
1693 default_channel_creation_enabled?: boolean;
1694 default_channels?: string[];
1695 default_create_private_channel?: boolean;
1696 default_rxns?: string[];
1697 disable_email_ingestion?: boolean;
1698 disable_file_deleting?: boolean;
1699 disable_file_editing?: boolean;
1700 disable_file_uploads?: string;
1701 disable_sidebar_connect_prompts?: string[];
1702 disable_sidebar_install_prompts?: string[];
1703 disallow_public_file_urls?: boolean;
1704 discoverable?: string;
1705 display_anniversary_celebration?: boolean;
1706 display_default_phone?: boolean;
1707 display_email_addresses?: boolean;
1708 display_external_email_addresses?: boolean;
1709 display_name_pronunciation?: boolean;
1710 display_new_hire_celebration?: boolean;
1711 display_pronouns?: boolean;
1712 display_real_names?: boolean;
1713 dm_retention_duration?: number;
1714 dm_retention_redaction_duration?: number;
1715 dm_retention_type?: number;
1716 dnd_after_friday?: string;
1717 dnd_after_monday?: string;
1718 dnd_after_saturday?: string;
1719 dnd_after_sunday?: string;
1720 dnd_after_thursday?: string;
1721 dnd_after_tuesday?: string;
1722 dnd_after_wednesday?: string;
1723 dnd_before_friday?: string;
1724 dnd_before_monday?: string;
1725 dnd_before_saturday?: string;
1726 dnd_before_sunday?: string;
1727 dnd_before_thursday?: string;
1728 dnd_before_tuesday?: string;
1729 dnd_before_wednesday?: string;
1730 dnd_days?: string;
1731 dnd_enabled?: boolean;
1732 dnd_enabled_friday?: string;
1733 dnd_enabled_monday?: string;
1734 dnd_enabled_saturday?: string;
1735 dnd_enabled_sunday?: string;
1736 dnd_enabled_thursday?: string;
1737 dnd_enabled_tuesday?: string;
1738 dnd_enabled_wednesday?: string;
1739 dnd_end_hour?: string;
1740 dnd_start_hour?: string;
1741 dnd_weekdays_off_allday?: boolean;
1742 dropbox_legacy_picker?: boolean;
1743 emoji_only_admins?: boolean;
1744 enable_connect_dm_early_access?: boolean;
1745 enable_domain_allowlist_for_cea?: boolean;
1746 enable_info_barriers?: boolean;
1747 enable_mpdm_to_private_channel_conversion?: boolean;
1748 enable_shared_channels?: number;
1749 enterprise_default_channels?: string[];
1750 enterprise_has_corporate_exports?: boolean;
1751 enterprise_intune_enabled?: boolean;
1752 enterprise_mandatory_channels?: string[];
1753 enterprise_mdm_date_enabled?: number;
1754 enterprise_mdm_disable_file_download?: boolean;
1755 enterprise_mdm_level?: number;
1756 enterprise_mdm_token?: string;
1757 enterprise_mobile_device_check?: boolean;
1758 enterprise_team_creation_request?: EnterpriseTeamCreationRequest;
1759 ext_audit_log_retention_duration?: number;
1760 ext_audit_log_retention_type?: number;
1761 file_limit_whitelisted?: boolean;
1762 file_retention_duration?: number;
1763 file_retention_type?: number;
1764 filepicker_app_first_install?: boolean;
1765 gdrive_enabled_team?: boolean;
1766 gg_enabled?: boolean;
1767 group_retention_duration?: number;
1768 group_retention_type?: number;
1769 has_compliance_export?: boolean;
1770 has_hipaa_compliance?: boolean;
1771 has_seen_partner_promo?: boolean;
1772 hermes_has_accepted_tos?: boolean;
1773 hermes_triggers_trippable_by_slack_connected_teams?: boolean;
1774 hide_gsuite_invite_option?: boolean;
1775 hide_referers?: boolean;
1776 identity_links_prefs?: EnterpriseTeamCreationRequest;
1777 invite_requests_enabled?: boolean;
1778 invited_user_preset?: InvitedUserPreset;
1779 invites_limit?: boolean;
1780 invites_only_admins?: boolean;
1781 joiner_notifications_enabled?: boolean;
1782 loading_only_admins?: boolean;
1783 locale?: string;
1784 loud_channel_mentions_limit?: number;
1785 magic_unfurls_enabled?: boolean;
1786 member_analytics_disabled?: boolean;
1787 ml_opt_out?: boolean;
1788 mobile_passcode_timeout_in_seconds?: number;
1789 mobile_session_duration?: number;
1790 msg_edit_window_mins?: number;
1791 notification_redaction_type?: string;
1792 notify_pending_enabled?: boolean;
1793 ntlm_credential_domains?: string;
1794 onedrive_app_installed?: boolean;
1795 onedrive_enabled_team?: boolean;
1796 private_channel_membership_limit?: number;
1797 private_retention_redaction_duration?: number;
1798 public_retention_redaction_duration?: number;
1799 received_esc_route_to_channel_awareness_message?: boolean;
1800 retention_duration?: number;
1801 retention_type?: number;
1802 rich_previews_default?: string;
1803 saml_enable?: boolean;
1804 search_feedback_opt_out?: boolean;
1805 self_serve_select?: boolean;
1806 session_duration?: number;
1807 session_duration_type?: number;
1808 show_join_leave?: boolean;
1809 show_legacy_paid_benefits_page?: boolean;
1810 show_mobile_promos?: boolean;
1811 sign_in_with_slack_default?: string;
1812 sign_in_with_slack_disabled?: boolean;
1813 single_user_exports?: boolean;
1814 slack_connect_account_visibility?: string;
1815 slack_connect_allowed_workspaces?: SlackConnectAllowedWorkspaces;
1816 slack_connect_approval_type?: string;
1817 slack_connect_dm_only_verified_orgs?: boolean;
1818 slack_connect_file_upload_sharing_enabled?: boolean;
1819 slackbot_responses_disabled?: boolean;
1820 slackbot_responses_only_admins?: boolean;
1821 spaceship_workspace_setting_visible?: boolean;
1822 sso_disable_emails?: boolean;
1823 sso_optional?: boolean;
1824 sso_signup_restrictions?: number;
1825 sso_sync_with_provider?: boolean;
1826 stats_only_admins?: boolean;
1827 subteams_auto_create_admin?: boolean;
1828 subteams_auto_create_owner?: boolean;
1829 thorn_safer_scan?: boolean;
1830 two_factor_auth_required?: number;
1831 uneditable_user_profile_fields?: string[];
1832 use_browser_picker?: boolean;
1833 uses_customized_custom_status_presets?: boolean;
1834 warn_before_at_channel?: string;
1835 warn_user_before_logout?: boolean;
1836 warn_user_before_logout_desktop?: boolean;
1837 warn_user_before_logout_mobile?: boolean;
1838 welcome_place_enabled?: boolean;
1839 who_can_accept_slack_connect_channel_invites?: SlackConnectAllowedWorkspaces;
1840 who_can_archive_channels?: string;
1841 who_can_at_channel?: string;
1842 who_can_at_everyone?: string;
1843 who_can_change_team_profile?: string;
1844 who_can_create_channel_email_addresses?: SlackConnectAllowedWorkspaces;
1845 who_can_create_channels?: string;
1846 who_can_create_delete_user_groups?: string;
1847 who_can_create_external_limited_invite?: SlackConnectAllowedWorkspaces;
1848 who_can_create_groups?: string;
1849 who_can_create_shared_channels?: string;
1850 who_can_create_slack_connect_channel_invite?: SlackConnectAllowedWorkspaces;
1851 who_can_create_workflows?: SlackConnectAllowedWorkspaces;
1852 who_can_dm_anyone?: SlackConnectAllowedWorkspaces;
1853 who_can_edit_user_groups?: string;
1854 who_can_kick_channels?: string;
1855 who_can_kick_groups?: string;
1856 who_can_manage_channel_posting_prefs?: string;
1857 who_can_manage_ext_shared_channels?: SlackConnectAllowedWorkspaces;
1858 who_can_manage_guests?: SlackConnectAllowedWorkspaces;
1859 who_can_manage_integrations?: SlackConnectAllowedWorkspaces;
1860 who_can_manage_private_channels?: WhoCanManageP;
1861 who_can_manage_private_channels_at_workspace_level?: WhoCanManageP;
1862 who_can_manage_public_channels?: WhoCanManageP;
1863 who_can_manage_shared_channels?: SlackConnectAllowedWorkspaces;
1864 who_can_post_general?: string;
1865 who_can_post_in_shared_channels?: SlackConnectAllowedWorkspaces;
1866 who_can_request_ext_shared_channels?: SlackConnectAllowedWorkspaces;
1867 who_can_review_flagged_content?: SlackConnectAllowedWorkspaces;
1868 who_can_use_hermes?: WhoCanUseHermes;
1869 who_can_view_message_activity?: SlackConnectAllowedWorkspaces;
1870 workflow_builder_enabled?: boolean;
1871 workflow_extension_steps_beta_opt_in?: boolean;
1872 workflow_extension_steps_enabled?: boolean;
1873 workflows_export_csv_enabled?: boolean;
1874 workflows_webhook_trigger_enabled?: boolean;
1875}
1876export interface CallsApps {
1877 audio?: string[];
1878 video?: Video[];
1879}
1880export interface Video {
1881 id?: string;
1882 image?: string;
1883 name?: string;
1884}
1885export interface EnterpriseTeamCreationRequest {
1886 is_enabled?: boolean;
1887}
1888export interface InvitedUserPreset {
1889 enable_invited_user?: boolean;
1890}
1891export interface SlackConnectAllowedWorkspaces {
1892 type?: string[];
1893}
1894export interface WhoCanManageP {
1895 type?: string[];
1896 user?: string[];
1897}
1898export interface WhoCanUseHermes {
1899 subteam?: string[];
1900 type?: string[];
1901 user?: string[];
1902}
1903export interface User {
1904 color?: string;
1905 deleted?: boolean;
1906 id?: string;
1907 is_admin?: boolean;
1908 is_app_user?: boolean;
1909 is_bot?: boolean;
1910 is_email_confirmed?: boolean;
1911 is_invited_user?: boolean;
1912 is_owner?: boolean;
1913 is_primary_owner?: boolean;
1914 is_restricted?: boolean;
1915 is_ultra_restricted?: boolean;
1916 is_workflow_bot?: boolean;
1917 name?: string;
1918 presence?: string;
1919 profile?: Profile;
1920 real_name?: string;
1921 team_id?: string;
1922 tz?: string;
1923 tz_label?: string;
1924 tz_offset?: number;
1925 updated?: number;
1926 who_can_share_contact_card?: string;
1927}
1928export interface Profile {
1929 always_active?: boolean;
1930 api_app_id?: string;
1931 avatar_hash?: string;
1932 bot_id?: string;
1933 display_name?: string;
1934 display_name_normalized?: string;
1935 email?: string;
1936 fields?: Fields;
1937 first_name?: string;
1938 guest_invited_by?: string;
1939 huddle_state?: string;
1940 huddle_state_expiration_ts?: number;
1941 image_1024?: string;
1942 image_192?: string;
1943 image_24?: string;
1944 image_32?: string;
1945 image_48?: string;
1946 image_512?: string;
1947 image_72?: string;
1948 image_original?: string;
1949 is_custom_image?: boolean;
1950 last_name?: string;
1951 phone?: string;
1952 pronouns?: string;
1953 real_name?: string;
1954 real_name_normalized?: string;
1955 skype?: string;
1956 status_emoji?: string;
1957 status_emoji_display_info?: StatusEmojiDisplayInfo[];
1958 status_expiration?: number;
1959 status_text?: string;
1960 status_text_canonical?: string;
1961 team?: string;
1962 title?: string;
1963}
1964export interface Fields {
1965 Xf019LT13Z16?: Xf019LT13Z16;
1966}
1967export interface Xf019LT13Z16 {
1968 alt?: string;
1969 value?: string;
1970}
1971export interface StatusEmojiDisplayInfo {
1972 display_alias?: string;
1973 display_url?: string;
1974 emoji_name?: string;
1975 unicode?: string;
1976}
1977//# sourceMappingURL=RtmStartResponse.d.ts.map
\No newline at end of file