@slack/web-api
Version:
Official library for using the Slack Platform's Web API
46 lines • 1.09 kB
TypeScript
import type { WebAPICallResult } from '../../WebClient';
export type ChannelsRepliesResponse = WebAPICallResult & {
error?: string;
has_more?: boolean;
messages?: Message[];
needed?: string;
ok?: boolean;
provided?: string;
response_metadata?: ResponseMetadata;
warning?: string;
};
export interface Message {
bot_id?: string;
bot_profile?: BotProfile;
latest_reply?: string;
parent_user_id?: string;
reply_count?: number;
reply_users?: string[];
reply_users_count?: number;
subscribed?: boolean;
team?: string;
text?: string;
thread_ts?: string;
ts?: string;
type?: string;
user?: string;
}
export interface BotProfile {
app_id?: string;
deleted?: boolean;
icons?: Icons;
id?: string;
name?: string;
team_id?: string;
updated?: number;
}
export interface Icons {
image_36?: string;
image_48?: string;
image_72?: string;
}
export interface ResponseMetadata {
messages?: string[];
warnings?: string[];
}
//# sourceMappingURL=ChannelsRepliesResponse.d.ts.map