WSearchMsgTaskResultNotice.proto 708 B

123456789101112131415161718192021222324252627
  1. syntax = "proto3";
  2. package Im.Scrm.Ww.Proto; //命名空间约定
  3. import "wecom/WHistoryMsgPushNotice.proto";
  4. option go_package = "./workphone/wecom";
  5. message ConvMessage {
  6. int64 Id = 1; //
  7. int64 RemoteId = 2; // 单聊=联系人RemoteId, 群聊=公司id,部门id或其他
  8. string Name = 3;
  9. string Avatar = 4;
  10. int32 Type = 5; // 0 单聊 1 群聊
  11. }
  12. message SearchResult{
  13. ConvMessage conv = 1;
  14. repeated ChatMessage Msgs = 2;
  15. }
  16. message SearchMsgTaskResultNoticeMessage {
  17. int64 WxId = 1; // 设备企业WX号
  18. string Keyword = 2; //
  19. bool Success = 3; //
  20. string ErrMsg = 4;
  21. repeated SearchResult Results = 5;
  22. int64 TaskId = 6;
  23. }