UNPKG

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