1 | import type { WebAPICallResult } from '../../WebClient';
|
2 | export type GroupsRepliesResponse = 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 | last_read?: string;
|
16 | latest_reply?: string;
|
17 | parent_user_id?: string;
|
18 | reply_count?: number;
|
19 | reply_users?: string[];
|
20 | reply_users_count?: number;
|
21 | subscribed?: boolean;
|
22 | team?: string;
|
23 | text?: string;
|
24 | thread_ts?: string;
|
25 | ts?: string;
|
26 | type?: string;
|
27 | user?: string;
|
28 | }
|
29 | export interface BotProfile {
|
30 | app_id?: string;
|
31 | deleted?: boolean;
|
32 | icons?: Icons;
|
33 | id?: string;
|
34 | name?: string;
|
35 | team_id?: string;
|
36 | updated?: number;
|
37 | }
|
38 | export interface Icons {
|
39 | image_36?: string;
|
40 | image_48?: string;
|
41 | image_72?: string;
|
42 | }
|
43 | export interface ResponseMetadata {
|
44 | messages?: string[];
|
45 | warnings?: string[];
|
46 | }
|
47 |
|
\ | No newline at end of file |