1 | import type { WebAPICallResult } from '../../WebClient';
|
2 | export 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 | };
|
12 | export 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 | }
|
28 | export 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 | }
|
37 | export interface Icons {
|
38 | image_36?: string;
|
39 | image_48?: string;
|
40 | image_72?: string;
|
41 | }
|
42 | export interface ResponseMetadata {
|
43 | messages?: string[];
|
44 | warnings?: string[];
|
45 | }
|
46 |
|
\ | No newline at end of file |