ChatRoomPushNotice.proto 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. syntax = "proto3";
  2. package Jubo.JuLiao.IM.Wx.Proto; //命名空间约定
  3. option go_package = "./workphone";
  4. message ChatRoomMessage {
  5. string UserName = 1;
  6. string NickName = 2;
  7. repeated string MemberList = 3;
  8. string Owner = 4;
  9. string Notice = 5;
  10. repeated DisplayNameMessage ShowNameList = 6;
  11. string SelfDisplayName = 7;
  12. string Avatar = 8; //微信头像 
  13. int32 Verify = 9; // 群聊邀请确认
  14. bool MsgSilent = 10; // 消息免打扰
  15. string Remark = 11; // 群聊备注,7.0.14版本才有
  16. int32 Type = 12; // type字段,供参考 (4.6.16版本开始:&2048 置顶)
  17. bool IsUnusual = 30; // 是否异常
  18. message DisplayNameMessage{
  19. string UserName = 1; // 群成员
  20. string ShowName = 2; // 群显示名
  21. string Inviter = 3; // 邀请者
  22. int32 Flag = 4; // &2048 群管理员,其他未知
  23. }
  24. }
  25. // 注意MessageType大小写: ChatroomPushNotice = 2031; // 手机端推送群聊列表
  26. message ChatRoomPushNoticeMessage {
  27. string WeChatId = 1; // 商家所属微信号
  28. repeated ChatRoomMessage ChatRooms = 2; // 好友信息模型 多个
  29. int32 Size = 3;
  30. int32 Count = 4;
  31. int32 Page = 5;
  32. int64 TaskId = 6;
  33. }