UNPKG

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