doum
昨天 ee300eca8f8414604cd94aa29f2b80e7d32413f6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**
 * 发钉 请求参数定义
 * @apiName biz.ding.post
 */
export interface IBizDingPostParams {
    /** 用户列表,工号 */
    users: string[];
    /** 企业id */
    corpId: string;
    /** 附件类型 1:image  2:link */
    type: 1 | 2;
    /** 钉发送方式 0:电话, 1:短信, 2:应用内 */
    alertType?: 0 | 1 | 2;
    alertDate?: {
        /** yyyy-MM-dd HH:mm */
        format: string;
        /** 2015-05-09 08:00 */
        value: string;
    };
    /** 附件信息 */
    attachment?: {
        images: string[];
    } | {
        title: string;
        url: string;
        image: string;
        text: string;
    };
    /** 正文 */
    text?: string;
}
/**
 * 发钉 返回结果定义
 * @apiName biz.ding.post
 */
export interface IBizDingPostResult {
}
/**
 * 发钉
 * @apiName biz.ding.post
 * @supportVersion  pc: 3.0.0 ios: 2.4.0 android: 2.4.0
 */
export declare function post$(params: IBizDingPostParams): Promise<IBizDingPostResult>;
export default post$;