openChat.d.ts 329 B

123456789101112131415
  1. export interface OpenChatParams {
  2. corpId?: string;
  3. chatId?: string;
  4. userId: string;
  5. text?: string;
  6. }
  7. declare function openChat(params: OpenChatParams): Promise<{}>;
  8. declare namespace openChat {
  9. var version: {
  10. android: string;
  11. ios: string;
  12. pc: string;
  13. };
  14. }
  15. export default openChat;