@lcap/cli
Version:
utils for lcap
12 lines • 594 B
TypeScript
import axios from 'axios';
import { SecretData, MessageData } from './types';
export declare function fetchToken(token: SecretData): Promise<string>;
/** 对单人发消息 */
export declare function postRobotP2P(token: string, body: MessageData): Promise<axios.AxiosResponse<any, any>>;
/** 群发消息 */
export declare function postRobotTeam(token: string, body: MessageData): Promise<axios.AxiosResponse<any, any>>;
/**
* 通过邮箱反查用户名称
*/
export declare function getPersonName(token: string, email: string): Promise<string | undefined>;
//# sourceMappingURL=api.d.ts.map