https://open.feishu.cn/document/ukTMukTMukTM/ucTM5YjL3ETO24yNxkjN?lang=en-US
https://github.com/ByteWebMonitor/byte-monitor-feishu-robot
Documentation - Feishu Open Platform
export const x = new Robot(x, x);
/**
* 发送富文本消息
*/
export const sendFeishuBotRichText = async (rot:Robot, title: string, texts: any) => {
await rot.sendRickText(title, texts, 'zh_cn').then(res => {
utilLogger.info(`sendFeishuBot content: ${safeJSONStringify(texts)} res${safeJSONStringify(res)}}`);
})
.catch(err => {
utilLogger.error(`sendFeishuBot content: ${safeJSONStringify(texts)} error: ${safeJSONStringify(err)}`);
});
};