chat_pb.ts 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. export interface PartnerFindRoomListRequest{
  2. nextId?:number;
  3. offset?:number;
  4. IdentifyId?:string;
  5. /** 是否查询没回复过的内容 */
  6. isFindNotReply?:boolean;
  7. /** 是否在七日内 */
  8. isWithinSevenDay?:boolean;
  9. }
  10. export interface PartnerFindRoomListReply{
  11. list?:Array<PartnerRoomInfo>;
  12. nextId?:number;
  13. }
  14. export interface PartnerRoomInfo{
  15. /** 用户发送数 */
  16. personSendNum?:number;
  17. /** 用户ID */
  18. personId?:string;
  19. /** 接待者未读数 */
  20. unreadNum?:number;
  21. /** 上次发送内容 */
  22. lastContent?:string;
  23. /** 上次发送时间 */
  24. lastTime?:number;
  25. }
  26. export interface CreateChatRoomParam{
  27. personId1?:string;
  28. /** 身份ID */
  29. personIdentifyID1?:string;
  30. /** 类型 */
  31. personType1?:string;
  32. personId2?:string;
  33. /** 身份ID */
  34. personIdentifyID2?:string;
  35. /** 类型 */
  36. personType2?:string;
  37. }
  38. export interface ReceiveRequest{
  39. method?:string;
  40. data?:any;
  41. id?:string;
  42. websocketTag?:string;
  43. personType?:string;
  44. personId?:string;
  45. }
  46. export interface ReceiveReply{
  47. }
  48. export interface CheckUserPartnerIsRelationshipReply{
  49. isBuildRelationship?:boolean;
  50. roomId?:number;
  51. }
  52. export interface RoomReply{
  53. roomId?:number;
  54. }