WContactPushNotice.proto 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. syntax = "proto3";
  2. package Im.Scrm.Ww.Proto; //命名空间约定
  3. import "WTransport.proto";
  4. message ContactPushNoticeMessage {
  5. int64 WxId = 1; // 设备企业WX号
  6. repeated ContactMessage Contacts = 2; // 好友信息模型 多个
  7. int32 Size = 3;
  8. int32 Count = 4;
  9. int32 Page = 5;
  10. int64 TaskId = 6;
  11. }
  12. message ContactMessage {
  13. int64 RemoteId = 1; //唯一id
  14. // RemoteId>>48==20 App;
  15. // RemoteId>>48==28 微信用户;
  16. // RemoteId>>48==33,34 外部客户;
  17. // RemoteId>>48==39 群机器人;
  18. // RemoteId>>48==30 内部客服;
  19. // RemoteId>>48==32 VIP客户;
  20. string AcctId = 2; // 企业内部id
  21. string Name = 3; //
  22. string Alias = 4;
  23. string Avatar = 5;
  24. string Job = 6; // 职位
  25. string Mobile = 7;
  26. string UnionId = 8;
  27. EnumGender Gender = 9;
  28. repeated int64 DepartIds = 10; // 所属部门id
  29. int64 Attr = 11; // 属性 (attr & 64) == 64 || (attr & 33554432) == 33554432 已激活企业微信
  30. //int64 CorpId = 12;
  31. }