zhizhi/node_modules/dingtalk-jsapi/api/device/notification/alert.d.ts

26 lines
688 B
TypeScript
Raw Normal View History

/**
* alert
* @apiName device.notification.alert
*/
export interface IDeviceNotificationAlertParams {
/** 消息内容 */
message?: string;
/** 弹窗标题 */
title?: string;
/** 按钮名称 */
buttonName?: string;
}
/**
* alert , button之后触发
* @apiName device.notification.alert
*/
export interface IDeviceNotificationAlertResult {
}
/**
* alert
* @apiName device.notification.alert
* @supportVersion pc: 2.5.0 ios: 2.4.0 android: 2.4.0
*/
export declare function alert$(params: IDeviceNotificationAlertParams): Promise<IDeviceNotificationAlertResult>;
export default alert$;