t-comm
Version:
专业、稳定、纯粹的工具库
21 lines (20 loc) • 472 B
TypeScript
/**
* 获取深圳天气信息,可用于通过机器人发送到群聊
* @returns {object} 天气信息和是否有变化
* @example
*
* getWeatherRobotContent().then(resp => {
* const { content, isSame } = resp
*
* console.log(content)
* // ## 深圳当前正在生效的预警如下
* // ...
*
* console.log(isSame)
* // false
* })
*/
export declare function getWeatherRobotContent(): Promise<{
content: string;
isSame: boolean;
}>;