ChatMessageAPI.java 701 B

1234567891011121314151617181920212223242526
  1. package com.easemob.server.example.api;
  2. /**
  3. * This interface is created for RestAPI of Chat Messages, it should be
  4. * synchronized with the API list.
  5. *
  6. * @author Eric23 2016-01-05
  7. * @see http://docs.easemob.com/
  8. */
  9. public interface ChatMessageAPI {
  10. /**
  11. * 导出聊天记录,默认返回10条 <br>
  12. * GET
  13. *
  14. * @param limit
  15. * 单页条数,最多1000
  16. * @param cursor
  17. * 游标,存在更多页时产生
  18. * @param query
  19. * 查询语句 <code>ql=select * where timestamp>1403164734226</code>
  20. * @return
  21. *
  22. * 此接口已经过期,下个版本将会提供新接口
  23. */
  24. Object exportChatMessages(Long limit, String cursor, String query);
  25. }