t-comm
Version:
专业、稳定、纯粹的工具库
14 lines (13 loc) • 479 B
TypeScript
/**
* 获取天气信息并发送
* @param {object} options 配置
* @param {string} options.webhookUrl 机器人hook地址
* @param {string} [options.chatId] 会话Id
* @param {string} [options.force] 是否在和之前获取数据相同时,也发送
* @returns {Promise<Object>} 请求Promise
*/
export declare function sendWeatherRobotMsg({ webhookUrl, chatId, force, }: {
webhookUrl: string;
chatId: string | string[];
force?: boolean;
}): Promise<any>;