WCustomerPushNotice.proto 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. syntax = "proto3";
  2. package Im.Scrm.Ww.Proto; //命名空间约定
  3. import "WTransport.proto";
  4. message CustomerPushNoticeMessage {
  5. int64 WxId = 1; // 设备企业WX号
  6. repeated CustomerMessage Contacts = 2; // 好友信息模型 多个
  7. int32 Size = 3;
  8. int32 Count = 4;
  9. int32 Page = 5;
  10. int64 TaskId = 6;
  11. }
  12. message CustomerMessage {
  13. int64 RemoteId = 1; //唯一id (RemoteId>>48==20 App; RemoteId>>48==28 微信用户; RemoteId>>48==33,34 外部客户; RemoteId>>48==39 群机器人; RemoteId>>48==30 内部客服; RemoteId>>48==32 VIP客户;)
  14. string Name = 2;
  15. string Alias = 3;
  16. string Avatar = 4;
  17. string Mobile = 5;
  18. string UnionId = 6; // 微信UnionId,可能为空
  19. EnumGender Gender = 7;
  20. int64 CorpId = 8;
  21. int32 AddTime = 9;
  22. int32 Source = 10; // 添加来源
  23. repeated int64 LabelIds = 11; //设置的用户标签
  24. string Suffix = 12; // 后缀
  25. string OpenId = 13;
  26. int64 SourceUser = 14;
  27. int64 SourceRoomId = 15;
  28. string SourceFriend = 16; //来自微信好友(wxid)来自通讯录(电话号码)
  29. string ApplyContent = 17;
  30. string Remark = 18;
  31. string CompanyRemark = 19;
  32. repeated string PhoneRemark = 20;
  33. string Desc = 21;
  34. string DescUrl = 22;
  35. int64 Attr = 23;
  36. int64 Attr2 = 24;
  37. int64 Attr3 = 25;
  38. int64 ApplyTime = 26;
  39. }