pickConversation.d.ts 884 B

12345678910111213141516171819202122232425262728
  1. /**
  2. * 选群组 请求参数定义
  3. * @apiName biz.chat.pickConversation
  4. */
  5. export interface IBizChatPickConversationParams {
  6. /** 企业id */
  7. corpId: string;
  8. /** 是否弹出确认窗口,默认为true */
  9. isConfirm: string;
  10. }
  11. /**
  12. * 选群组 返回结果定义
  13. * @apiName biz.chat.pickConversation
  14. */
  15. export interface IBizChatPickConversationResult {
  16. /** 该cid和服务端开发文档-普通会话消息接口配合使用,而且只能使用一次,之后将失效 */
  17. cid: string;
  18. /** 会话标题 */
  19. title: string;
  20. }
  21. /**
  22. * 选群组
  23. * @description corpid必须是用户所属的企业的corpid
  24. * @apiName biz.chat.pickConversation
  25. * @supportVersion ios: 2.4.2 android: 2.4.2
  26. */
  27. export declare function pickConversation$(params: IBizChatPickConversationParams): Promise<IBizChatPickConversationResult>;
  28. export default pickConversation$;