WContactPushNotice.proto 1.1 KB

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