WChatRoomActionTask.proto 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. syntax = "proto3";
  2. package Im.Scrm.Ww.Proto; //命名空间约定
  3. option go_package = "./workphone/wecom";
  4. enum EnumChatRoomAction {
  5. RoomName = 0; // 改群名 content=群名称
  6. ModifyPublicNoti = 1; // 改公告 content=公告内容
  7. AddMember = 2; // 拉人 Members不为空,content=附带消息
  8. KickMember = 3; // 踢人
  9. RoomShowName = 4; // 修改群内显示名 content=显示名 未实现
  10. AddToPhonebook = 5; // 未实现
  11. NoDisturb = 6; // 免打扰 IntValue=1 (消息免打扰 ),IntValue=0 取消,可设置单个联系人
  12. ExitRoom = 7; // 退群
  13. CreateRoom = 8; // 建群 Members不为空,content=群名称
  14. ViewAllMember = 9; // 查看所有群成员 未实现
  15. TransferOwner = 10; // 群主转让
  16. SetVerify = 11; // 未实现
  17. AddManager = 12; // 设置群管理员
  18. DelManager = 13; // 删除群管理员
  19. SetRemark = 14; // 未实现
  20. AddToFold = 15; // 折叠
  21. SetTop = 16; //设置置顶 IntValue=0 取消置顶,IntValue=1 置顶,可设置单个联系人
  22. SetMarked = 17; //标记 IntValue=0 取消标记,IntValue=1 标记,可设置单个联系人
  23. }
  24. message ChatRoomActionTaskMessage {
  25. int64 WxId = 1; // 商家所属微信号
  26. int64 ConvId = 2; // 会话remoteId
  27. EnumChatRoomAction Action = 3; // 指令
  28. string Content = 4; // 指令内容
  29. int32 IntValue = 5; //
  30. repeated int64 Members = 6; //操作的联系人(客户)
  31. int64 taskId = 7;
  32. }