WCustomerPushNotice.proto 1.4 KB

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