t-comm
Version:
专业、稳定、纯粹的工具库
20 lines (19 loc) • 690 B
TypeScript
/**
* 获取超时的流水线列表,并发送机器人消息
* @param {object} params 参数
* @param {object} params.params 获取流水线列表参数
* @param {string} params.pipelineHost 流水线 host 地址
* @param {string} params.webhookUrl 回调地址
* @param {string} params.chatId 会话id
*/
export declare function sendOverTimePipelineMessage({ params, pipelineHost, webhookUrl, chatId, overTimeConfigList, mentionList, }: {
params: any;
pipelineHost: string;
webhookUrl: string;
chatId: Array<string>;
overTimeConfigList?: Array<{
label: string;
value: number;
}>;
mentionList: string[];
}): Promise<any[] | undefined>;