ChatRoomActionTask.pb.go 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.35.2
  4. // protoc v5.28.3
  5. // source: ChatRoomActionTask.proto
  6. package workphone
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type EnumChatRoomAction int32
  20. const (
  21. EnumChatRoomAction_RoomName EnumChatRoomAction = 0 // 改群名 content=群昵称
  22. EnumChatRoomAction_ModifyPublicNoti EnumChatRoomAction = 1 // 改公告 content=公告内容
  23. EnumChatRoomAction_AddMember EnumChatRoomAction = 2 // 拉人 content=微信id,用','分隔
  24. EnumChatRoomAction_KickMember EnumChatRoomAction = 3 // 踢人 content=微信id,用','分隔
  25. EnumChatRoomAction_RoomShowName EnumChatRoomAction = 4 // 修改群内显示名 content=显示名
  26. EnumChatRoomAction_AddToPhonebook EnumChatRoomAction = 5 // 加入通讯录 IntValue=0 取消,IntValue=1 加入
  27. EnumChatRoomAction_NewMsgNoti EnumChatRoomAction = 6 // 新消息通知 IntValue=0 (消息免打扰 ),IntValue=1 通知,可设置单个联系人
  28. EnumChatRoomAction_ExitRoom EnumChatRoomAction = 7 // 退群
  29. EnumChatRoomAction_CreateRoom EnumChatRoomAction = 8 // 建群 content=初始成员微信id,用','分隔
  30. EnumChatRoomAction_ViewAllMember EnumChatRoomAction = 9 // 查看所有群成员
  31. EnumChatRoomAction_TransferOwner EnumChatRoomAction = 10 // 群主转让
  32. EnumChatRoomAction_SetVerify EnumChatRoomAction = 11 // 设置群聊邀请确认 IntValue=0 关闭,IntValue=1 打开
  33. EnumChatRoomAction_AddManager EnumChatRoomAction = 12 // 设置群管理员 content=微信id,用','分隔,最多3个id
  34. EnumChatRoomAction_DelManager EnumChatRoomAction = 13 // 删除群管理员 content=微信id,用','分隔
  35. EnumChatRoomAction_SetRemark EnumChatRoomAction = 14 // 设置备注 7.0.14版本新功能 content=备注名,最长32
  36. EnumChatRoomAction_SetTop EnumChatRoomAction = 16 //设置置顶 IntValue=0 取消置顶,IntValue=1 置顶,可设置单个联系人
  37. )
  38. // Enum value maps for EnumChatRoomAction.
  39. var (
  40. EnumChatRoomAction_name = map[int32]string{
  41. 0: "RoomName",
  42. 1: "ModifyPublicNoti",
  43. 2: "AddMember",
  44. 3: "KickMember",
  45. 4: "RoomShowName",
  46. 5: "AddToPhonebook",
  47. 6: "NewMsgNoti",
  48. 7: "ExitRoom",
  49. 8: "CreateRoom",
  50. 9: "ViewAllMember",
  51. 10: "TransferOwner",
  52. 11: "SetVerify",
  53. 12: "AddManager",
  54. 13: "DelManager",
  55. 14: "SetRemark",
  56. 16: "SetTop",
  57. }
  58. EnumChatRoomAction_value = map[string]int32{
  59. "RoomName": 0,
  60. "ModifyPublicNoti": 1,
  61. "AddMember": 2,
  62. "KickMember": 3,
  63. "RoomShowName": 4,
  64. "AddToPhonebook": 5,
  65. "NewMsgNoti": 6,
  66. "ExitRoom": 7,
  67. "CreateRoom": 8,
  68. "ViewAllMember": 9,
  69. "TransferOwner": 10,
  70. "SetVerify": 11,
  71. "AddManager": 12,
  72. "DelManager": 13,
  73. "SetRemark": 14,
  74. "SetTop": 16,
  75. }
  76. )
  77. func (x EnumChatRoomAction) Enum() *EnumChatRoomAction {
  78. p := new(EnumChatRoomAction)
  79. *p = x
  80. return p
  81. }
  82. func (x EnumChatRoomAction) String() string {
  83. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  84. }
  85. func (EnumChatRoomAction) Descriptor() protoreflect.EnumDescriptor {
  86. return file_ChatRoomActionTask_proto_enumTypes[0].Descriptor()
  87. }
  88. func (EnumChatRoomAction) Type() protoreflect.EnumType {
  89. return &file_ChatRoomActionTask_proto_enumTypes[0]
  90. }
  91. func (x EnumChatRoomAction) Number() protoreflect.EnumNumber {
  92. return protoreflect.EnumNumber(x)
  93. }
  94. // Deprecated: Use EnumChatRoomAction.Descriptor instead.
  95. func (EnumChatRoomAction) EnumDescriptor() ([]byte, []int) {
  96. return file_ChatRoomActionTask_proto_rawDescGZIP(), []int{0}
  97. }
  98. type ChatRoomActionTaskMessage struct {
  99. state protoimpl.MessageState
  100. sizeCache protoimpl.SizeCache
  101. unknownFields protoimpl.UnknownFields
  102. WeChatId string `protobuf:"bytes,1,opt,name=WeChatId,proto3" json:"WeChatId,omitempty"` // 商家所属微信号
  103. ChatRoomId string `protobuf:"bytes,2,opt,name=ChatRoomId,proto3" json:"ChatRoomId,omitempty"` // 群聊id
  104. Action EnumChatRoomAction `protobuf:"varint,3,opt,name=Action,proto3,enum=Jubo.JuLiao.IM.Wx.Proto.EnumChatRoomAction" json:"Action,omitempty"` // 指令
  105. Content string `protobuf:"bytes,4,opt,name=Content,proto3" json:"Content,omitempty"` // 指令内容
  106. IntValue int32 `protobuf:"varint,5,opt,name=IntValue,proto3" json:"IntValue,omitempty"` //
  107. TaskId int64 `protobuf:"varint,6,opt,name=taskId,proto3" json:"taskId,omitempty"`
  108. }
  109. func (x *ChatRoomActionTaskMessage) Reset() {
  110. *x = ChatRoomActionTaskMessage{}
  111. mi := &file_ChatRoomActionTask_proto_msgTypes[0]
  112. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  113. ms.StoreMessageInfo(mi)
  114. }
  115. func (x *ChatRoomActionTaskMessage) String() string {
  116. return protoimpl.X.MessageStringOf(x)
  117. }
  118. func (*ChatRoomActionTaskMessage) ProtoMessage() {}
  119. func (x *ChatRoomActionTaskMessage) ProtoReflect() protoreflect.Message {
  120. mi := &file_ChatRoomActionTask_proto_msgTypes[0]
  121. if x != nil {
  122. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  123. if ms.LoadMessageInfo() == nil {
  124. ms.StoreMessageInfo(mi)
  125. }
  126. return ms
  127. }
  128. return mi.MessageOf(x)
  129. }
  130. // Deprecated: Use ChatRoomActionTaskMessage.ProtoReflect.Descriptor instead.
  131. func (*ChatRoomActionTaskMessage) Descriptor() ([]byte, []int) {
  132. return file_ChatRoomActionTask_proto_rawDescGZIP(), []int{0}
  133. }
  134. func (x *ChatRoomActionTaskMessage) GetWeChatId() string {
  135. if x != nil {
  136. return x.WeChatId
  137. }
  138. return ""
  139. }
  140. func (x *ChatRoomActionTaskMessage) GetChatRoomId() string {
  141. if x != nil {
  142. return x.ChatRoomId
  143. }
  144. return ""
  145. }
  146. func (x *ChatRoomActionTaskMessage) GetAction() EnumChatRoomAction {
  147. if x != nil {
  148. return x.Action
  149. }
  150. return EnumChatRoomAction_RoomName
  151. }
  152. func (x *ChatRoomActionTaskMessage) GetContent() string {
  153. if x != nil {
  154. return x.Content
  155. }
  156. return ""
  157. }
  158. func (x *ChatRoomActionTaskMessage) GetIntValue() int32 {
  159. if x != nil {
  160. return x.IntValue
  161. }
  162. return 0
  163. }
  164. func (x *ChatRoomActionTaskMessage) GetTaskId() int64 {
  165. if x != nil {
  166. return x.TaskId
  167. }
  168. return 0
  169. }
  170. var File_ChatRoomActionTask_proto protoreflect.FileDescriptor
  171. var file_ChatRoomActionTask_proto_rawDesc = []byte{
  172. 0x0a, 0x18, 0x43, 0x68, 0x61, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  173. 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x4a, 0x75, 0x62, 0x6f,
  174. 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e, 0x50, 0x72,
  175. 0x6f, 0x74, 0x6f, 0x22, 0xea, 0x01, 0x0a, 0x19, 0x43, 0x68, 0x61, 0x74, 0x52, 0x6f, 0x6f, 0x6d,
  176. 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  177. 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20,
  178. 0x01, 0x28, 0x09, 0x52, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a,
  179. 0x0a, 0x43, 0x68, 0x61, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
  180. 0x09, 0x52, 0x0a, 0x43, 0x68, 0x61, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x43, 0x0a,
  181. 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e,
  182. 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57,
  183. 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x43, 0x68, 0x61, 0x74,
  184. 0x52, 0x6f, 0x6f, 0x6d, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x41, 0x63, 0x74, 0x69,
  185. 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20,
  186. 0x01, 0x28, 0x09, 0x52, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08,
  187. 0x49, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
  188. 0x49, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b,
  189. 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64,
  190. 0x2a, 0x9b, 0x02, 0x0a, 0x12, 0x45, 0x6e, 0x75, 0x6d, 0x43, 0x68, 0x61, 0x74, 0x52, 0x6f, 0x6f,
  191. 0x6d, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x6f, 0x6f, 0x6d, 0x4e,
  192. 0x61, 0x6d, 0x65, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x50,
  193. 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4e, 0x6f, 0x74, 0x69, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x41,
  194. 0x64, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x4b, 0x69,
  195. 0x63, 0x6b, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x6f,
  196. 0x6f, 0x6d, 0x53, 0x68, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e,
  197. 0x41, 0x64, 0x64, 0x54, 0x6f, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x10, 0x05,
  198. 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x65, 0x77, 0x4d, 0x73, 0x67, 0x4e, 0x6f, 0x74, 0x69, 0x10, 0x06,
  199. 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x78, 0x69, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x10, 0x07, 0x12, 0x0e,
  200. 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x10, 0x08, 0x12, 0x11,
  201. 0x0a, 0x0d, 0x56, 0x69, 0x65, 0x77, 0x41, 0x6c, 0x6c, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x10,
  202. 0x09, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4f, 0x77, 0x6e,
  203. 0x65, 0x72, 0x10, 0x0a, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x65, 0x74, 0x56, 0x65, 0x72, 0x69, 0x66,
  204. 0x79, 0x10, 0x0b, 0x12, 0x0e, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65,
  205. 0x72, 0x10, 0x0c, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65,
  206. 0x72, 0x10, 0x0d, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x65, 0x74, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b,
  207. 0x10, 0x0e, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x65, 0x74, 0x54, 0x6f, 0x70, 0x10, 0x10, 0x42, 0x0d,
  208. 0x5a, 0x0b, 0x2e, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x62, 0x06, 0x70,
  209. 0x72, 0x6f, 0x74, 0x6f, 0x33,
  210. }
  211. var (
  212. file_ChatRoomActionTask_proto_rawDescOnce sync.Once
  213. file_ChatRoomActionTask_proto_rawDescData = file_ChatRoomActionTask_proto_rawDesc
  214. )
  215. func file_ChatRoomActionTask_proto_rawDescGZIP() []byte {
  216. file_ChatRoomActionTask_proto_rawDescOnce.Do(func() {
  217. file_ChatRoomActionTask_proto_rawDescData = protoimpl.X.CompressGZIP(file_ChatRoomActionTask_proto_rawDescData)
  218. })
  219. return file_ChatRoomActionTask_proto_rawDescData
  220. }
  221. var file_ChatRoomActionTask_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  222. var file_ChatRoomActionTask_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  223. var file_ChatRoomActionTask_proto_goTypes = []any{
  224. (EnumChatRoomAction)(0), // 0: Jubo.JuLiao.IM.Wx.Proto.EnumChatRoomAction
  225. (*ChatRoomActionTaskMessage)(nil), // 1: Jubo.JuLiao.IM.Wx.Proto.ChatRoomActionTaskMessage
  226. }
  227. var file_ChatRoomActionTask_proto_depIdxs = []int32{
  228. 0, // 0: Jubo.JuLiao.IM.Wx.Proto.ChatRoomActionTaskMessage.Action:type_name -> Jubo.JuLiao.IM.Wx.Proto.EnumChatRoomAction
  229. 1, // [1:1] is the sub-list for method output_type
  230. 1, // [1:1] is the sub-list for method input_type
  231. 1, // [1:1] is the sub-list for extension type_name
  232. 1, // [1:1] is the sub-list for extension extendee
  233. 0, // [0:1] is the sub-list for field type_name
  234. }
  235. func init() { file_ChatRoomActionTask_proto_init() }
  236. func file_ChatRoomActionTask_proto_init() {
  237. if File_ChatRoomActionTask_proto != nil {
  238. return
  239. }
  240. type x struct{}
  241. out := protoimpl.TypeBuilder{
  242. File: protoimpl.DescBuilder{
  243. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  244. RawDescriptor: file_ChatRoomActionTask_proto_rawDesc,
  245. NumEnums: 1,
  246. NumMessages: 1,
  247. NumExtensions: 0,
  248. NumServices: 0,
  249. },
  250. GoTypes: file_ChatRoomActionTask_proto_goTypes,
  251. DependencyIndexes: file_ChatRoomActionTask_proto_depIdxs,
  252. EnumInfos: file_ChatRoomActionTask_proto_enumTypes,
  253. MessageInfos: file_ChatRoomActionTask_proto_msgTypes,
  254. }.Build()
  255. File_ChatRoomActionTask_proto = out.File
  256. file_ChatRoomActionTask_proto_rawDesc = nil
  257. file_ChatRoomActionTask_proto_goTypes = nil
  258. file_ChatRoomActionTask_proto_depIdxs = nil
  259. }