zhizhi/node_modules/dingtalk-jsapi/api/biz/chat/getRealmCid.d.ts

27 lines
865 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.

/**
* 根据userId获取发送消息的会话cidToken 请求参数定义
* @apiName biz.chat.getRealmCid
*/
export interface IBizChatGetRealmCidParams {
/** 指定对象的userId(staffId) */
userId: string;
/** 指定对象所归属的企业Id */
corpId: string;
}
/**
* 根据userId获取发送消息的会话cidToken 返回结果定义
* @apiName biz.chat.getRealmCid
*/
export interface IBizChatGetRealmCidResult {
/** 会话发送消息的cidToken */
cid: string;
}
/**
* 根据userId获取发送消息的会话cidToken
* @apiName biz.chat.getRealmCid
* @supportVersion ios: 4.7.12 android: 4.7.12 win: 4.7.12 mac 暂不支持
* @author android笔歌ios怒龙win秋裤
*/
export declare function getRealmCid$(params: IBizChatGetRealmCidParams): Promise<IBizChatGetRealmCidResult>;
export default getRealmCid$;