@slack/web-api
Version:
Official library for using the Slack Platform's Web API
34 lines • 837 B
TypeScript
import type { WebAPICallResult } from '../../WebClient';
export type ChannelsRenameResponse = WebAPICallResult & {
channel?: Channel;
error?: string;
needed?: string;
ok?: boolean;
provided?: string;
};
export interface Channel {
created?: number;
creator?: string;
id?: string;
is_archived?: boolean;
is_channel?: boolean;
is_general?: boolean;
is_member?: boolean;
is_mpim?: boolean;
is_org_shared?: boolean;
is_private?: boolean;
is_shared?: boolean;
members?: string[];
name?: string;
name_normalized?: string;
previous_names?: string[];
purpose?: Purpose;
topic?: Purpose;
unlinked?: number;
}
export interface Purpose {
creator?: string;
last_set?: number;
value?: string;
}
//# sourceMappingURL=ChannelsRenameResponse.d.ts.map