zhizhi/node_modules/dingtalk-jsapi/api/biz/util/systemShare.d.ts

31 lines
997 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 唤起iOS & Android系统分享菜单 请求参数定义
* @apiName biz.util.systemShare
*/
export interface IBizUtilSystemShareParams {
/** 1.Link 2.图片,限制 images 数组长度1-9 3.图片,图文限制 images 数组长度1-9, title可选 4.纯文本仅支持Android微信好友 */
type: number;
/** 分享标题,可选 */
title?: string;
/** 分享链接,可选 */
url?: string;
/** 分享链接缩略图,可选 */
thumbImage?: string;
/** 分享图片,可选 */
images: string[];
}
/**
* 唤起iOS & Android系统分享菜单 返回结果定义
* @apiName biz.util.systemShare
*/
export interface IBizUtilSystemShareResult {
[key: string]: any;
}
/**
* 唤起iOS & Android系统分享菜单
* @apiName biz.util.systemShare
* @supportVersion ios: 4.5.10 android: 4.5.10
*/
export declare function systemShare$(params: IBizUtilSystemShareParams): Promise<IBizUtilSystemShareResult>;
export default systemShare$;