1 | import type { WebAPICallResult } from '../../WebClient';
|
2 | export type MpimHistoryResponse = WebAPICallResult & {
|
3 | channel_actions_count?: number;
|
4 | error?: string;
|
5 | has_more?: boolean;
|
6 | messages?: Message[];
|
7 | needed?: string;
|
8 | ok?: boolean;
|
9 | provided?: string;
|
10 | response_metadata?: ResponseMetadata;
|
11 | warning?: string;
|
12 | };
|
13 | export interface Message {
|
14 | bot_id?: string;
|
15 | bot_profile?: BotProfile;
|
16 | is_starred?: boolean;
|
17 | last_read?: string;
|
18 | latest_reply?: string;
|
19 | parent_user_id?: string;
|
20 | reply_count?: number;
|
21 | reply_users?: string[];
|
22 | reply_users_count?: number;
|
23 | subscribed?: boolean;
|
24 | team?: string;
|
25 | text?: string;
|
26 | thread_ts?: string;
|
27 | ts?: string;
|
28 | type?: string;
|
29 | user?: string;
|
30 | }
|
31 | export interface BotProfile {
|
32 | app_id?: string;
|
33 | deleted?: boolean;
|
34 | icons?: Icons;
|
35 | id?: string;
|
36 | name?: string;
|
37 | team_id?: string;
|
38 | updated?: number;
|
39 | }
|
40 | export interface Icons {
|
41 | image_36?: string;
|
42 | image_48?: string;
|
43 | image_72?: string;
|
44 | }
|
45 | export interface ResponseMetadata {
|
46 | messages?: string[];
|
47 | warnings?: string[];
|
48 | }
|
49 |
|
\ | No newline at end of file |