sendEmotion.d.ts 1000 B

1234567891011121314151617181920212223242526
  1. /**
  2. * 发送表情。调用js-api后会唤起选会话组件,用户选择发送的会话,确认后发送。 请求参数定义
  3. * imageUrl和mediaId二选一 authMediaId配合mediaId,可选
  4. * @apiName biz.chat.sendEmotion
  5. */
  6. export interface IBizChatSendEmotionParams {
  7. /** 表情图片链接 */
  8. imageUrl?: string;
  9. /** 表情图片mediaId */
  10. mediaId?: string;
  11. /** 表情图片authMediaId */
  12. authMediaId?: string;
  13. }
  14. /**
  15. * 发送表情。调用js-api后会唤起选会话组件,用户选择发送的会话,确认后发送。 返回结果定义
  16. * @apiName biz.chat.sendEmotion
  17. */
  18. export interface IBizChatSendEmotionResult {
  19. }
  20. /**
  21. * 发送表情。调用js-api后会唤起选会话组件,用户选择发送的会话,确认后发送。
  22. * @apiName biz.chat.sendEmotion
  23. * @supportVersion ios: 4.6.12 android: 4.6.12
  24. */
  25. export declare function sendEmotion$(params: IBizChatSendEmotionParams): Promise<IBizChatSendEmotionResult>;
  26. export default sendEmotion$;