QwConversPushNotice.pb.go 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  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: QwConversPushNotice.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 QwConversMessage struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. UserName string `protobuf:"bytes,1,opt,name=UserName,proto3" json:"UserName,omitempty"` // 全局唯一识别码
  24. Digest string `protobuf:"bytes,2,opt,name=Digest,proto3" json:"Digest,omitempty"` // 消息概要显示
  25. IsSend bool `protobuf:"varint,4,opt,name=IsSend,proto3" json:"IsSend,omitempty"` // 最后消息是否自己发送
  26. MsgCnt int32 `protobuf:"varint,5,opt,name=MsgCnt,proto3" json:"MsgCnt,omitempty"` // 消息条数
  27. UnreadCnt int32 `protobuf:"varint,6,opt,name=UnreadCnt,proto3" json:"UnreadCnt,omitempty"` // 未读消息条数
  28. UpdateTime int64 `protobuf:"varint,7,opt,name=UpdateTime,proto3" json:"UpdateTime,omitempty"` // 最后消息的时间
  29. IsTop bool `protobuf:"varint,8,opt,name=IsTop,proto3" json:"IsTop,omitempty"` // 是否置顶
  30. IsSilent bool `protobuf:"varint,9,opt,name=IsSilent,proto3" json:"IsSilent,omitempty"` // 是否消息免打扰
  31. // int32 ChatMode = 10; //是否可以发消息
  32. ShowName string `protobuf:"bytes,11,opt,name=ShowName,proto3" json:"ShowName,omitempty"` // 会话名称(备注或昵称)
  33. Avatar string `protobuf:"bytes,12,opt,name=Avatar,proto3" json:"Avatar,omitempty"` // 头像
  34. AtCount int32 `protobuf:"varint,13,opt,name=AtCount,proto3" json:"AtCount,omitempty"`
  35. Parent string `protobuf:"bytes,14,opt,name=Parent,proto3" json:"Parent,omitempty"` //上级会话
  36. ParentName string `protobuf:"bytes,15,opt,name=ParentName,proto3" json:"ParentName,omitempty"` //上级会话名称
  37. Owner string `protobuf:"bytes,16,opt,name=Owner,proto3" json:"Owner,omitempty"` //群主 (业务未明确,暂时不传)
  38. UserList string `protobuf:"bytes,17,opt,name=UserList,proto3" json:"UserList,omitempty"` //群聊成员 (业务未明确,暂时不传)
  39. RoomFlag int32 `protobuf:"varint,18,opt,name=RoomFlag,proto3" json:"RoomFlag,omitempty"` //
  40. }
  41. func (x *QwConversMessage) Reset() {
  42. *x = QwConversMessage{}
  43. mi := &file_QwConversPushNotice_proto_msgTypes[0]
  44. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  45. ms.StoreMessageInfo(mi)
  46. }
  47. func (x *QwConversMessage) String() string {
  48. return protoimpl.X.MessageStringOf(x)
  49. }
  50. func (*QwConversMessage) ProtoMessage() {}
  51. func (x *QwConversMessage) ProtoReflect() protoreflect.Message {
  52. mi := &file_QwConversPushNotice_proto_msgTypes[0]
  53. if x != nil {
  54. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  55. if ms.LoadMessageInfo() == nil {
  56. ms.StoreMessageInfo(mi)
  57. }
  58. return ms
  59. }
  60. return mi.MessageOf(x)
  61. }
  62. // Deprecated: Use QwConversMessage.ProtoReflect.Descriptor instead.
  63. func (*QwConversMessage) Descriptor() ([]byte, []int) {
  64. return file_QwConversPushNotice_proto_rawDescGZIP(), []int{0}
  65. }
  66. func (x *QwConversMessage) GetUserName() string {
  67. if x != nil {
  68. return x.UserName
  69. }
  70. return ""
  71. }
  72. func (x *QwConversMessage) GetDigest() string {
  73. if x != nil {
  74. return x.Digest
  75. }
  76. return ""
  77. }
  78. func (x *QwConversMessage) GetIsSend() bool {
  79. if x != nil {
  80. return x.IsSend
  81. }
  82. return false
  83. }
  84. func (x *QwConversMessage) GetMsgCnt() int32 {
  85. if x != nil {
  86. return x.MsgCnt
  87. }
  88. return 0
  89. }
  90. func (x *QwConversMessage) GetUnreadCnt() int32 {
  91. if x != nil {
  92. return x.UnreadCnt
  93. }
  94. return 0
  95. }
  96. func (x *QwConversMessage) GetUpdateTime() int64 {
  97. if x != nil {
  98. return x.UpdateTime
  99. }
  100. return 0
  101. }
  102. func (x *QwConversMessage) GetIsTop() bool {
  103. if x != nil {
  104. return x.IsTop
  105. }
  106. return false
  107. }
  108. func (x *QwConversMessage) GetIsSilent() bool {
  109. if x != nil {
  110. return x.IsSilent
  111. }
  112. return false
  113. }
  114. func (x *QwConversMessage) GetShowName() string {
  115. if x != nil {
  116. return x.ShowName
  117. }
  118. return ""
  119. }
  120. func (x *QwConversMessage) GetAvatar() string {
  121. if x != nil {
  122. return x.Avatar
  123. }
  124. return ""
  125. }
  126. func (x *QwConversMessage) GetAtCount() int32 {
  127. if x != nil {
  128. return x.AtCount
  129. }
  130. return 0
  131. }
  132. func (x *QwConversMessage) GetParent() string {
  133. if x != nil {
  134. return x.Parent
  135. }
  136. return ""
  137. }
  138. func (x *QwConversMessage) GetParentName() string {
  139. if x != nil {
  140. return x.ParentName
  141. }
  142. return ""
  143. }
  144. func (x *QwConversMessage) GetOwner() string {
  145. if x != nil {
  146. return x.Owner
  147. }
  148. return ""
  149. }
  150. func (x *QwConversMessage) GetUserList() string {
  151. if x != nil {
  152. return x.UserList
  153. }
  154. return ""
  155. }
  156. func (x *QwConversMessage) GetRoomFlag() int32 {
  157. if x != nil {
  158. return x.RoomFlag
  159. }
  160. return 0
  161. }
  162. type QwConversPushNoticeMessage struct {
  163. state protoimpl.MessageState
  164. sizeCache protoimpl.SizeCache
  165. unknownFields protoimpl.UnknownFields
  166. WeChatId string `protobuf:"bytes,1,opt,name=WeChatId,proto3" json:"WeChatId,omitempty"` // 客服个微全局唯一识别码
  167. Convers []*QwConversMessage `protobuf:"bytes,2,rep,name=Convers,proto3" json:"Convers,omitempty"`
  168. Size int32 `protobuf:"varint,3,opt,name=Size,proto3" json:"Size,omitempty"`
  169. Count int32 `protobuf:"varint,4,opt,name=Count,proto3" json:"Count,omitempty"`
  170. Page int32 `protobuf:"varint,5,opt,name=Page,proto3" json:"Page,omitempty"`
  171. TaskId int64 `protobuf:"varint,6,opt,name=TaskId,proto3" json:"TaskId,omitempty"`
  172. }
  173. func (x *QwConversPushNoticeMessage) Reset() {
  174. *x = QwConversPushNoticeMessage{}
  175. mi := &file_QwConversPushNotice_proto_msgTypes[1]
  176. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  177. ms.StoreMessageInfo(mi)
  178. }
  179. func (x *QwConversPushNoticeMessage) String() string {
  180. return protoimpl.X.MessageStringOf(x)
  181. }
  182. func (*QwConversPushNoticeMessage) ProtoMessage() {}
  183. func (x *QwConversPushNoticeMessage) ProtoReflect() protoreflect.Message {
  184. mi := &file_QwConversPushNotice_proto_msgTypes[1]
  185. if x != nil {
  186. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  187. if ms.LoadMessageInfo() == nil {
  188. ms.StoreMessageInfo(mi)
  189. }
  190. return ms
  191. }
  192. return mi.MessageOf(x)
  193. }
  194. // Deprecated: Use QwConversPushNoticeMessage.ProtoReflect.Descriptor instead.
  195. func (*QwConversPushNoticeMessage) Descriptor() ([]byte, []int) {
  196. return file_QwConversPushNotice_proto_rawDescGZIP(), []int{1}
  197. }
  198. func (x *QwConversPushNoticeMessage) GetWeChatId() string {
  199. if x != nil {
  200. return x.WeChatId
  201. }
  202. return ""
  203. }
  204. func (x *QwConversPushNoticeMessage) GetConvers() []*QwConversMessage {
  205. if x != nil {
  206. return x.Convers
  207. }
  208. return nil
  209. }
  210. func (x *QwConversPushNoticeMessage) GetSize() int32 {
  211. if x != nil {
  212. return x.Size
  213. }
  214. return 0
  215. }
  216. func (x *QwConversPushNoticeMessage) GetCount() int32 {
  217. if x != nil {
  218. return x.Count
  219. }
  220. return 0
  221. }
  222. func (x *QwConversPushNoticeMessage) GetPage() int32 {
  223. if x != nil {
  224. return x.Page
  225. }
  226. return 0
  227. }
  228. func (x *QwConversPushNoticeMessage) GetTaskId() int64 {
  229. if x != nil {
  230. return x.TaskId
  231. }
  232. return 0
  233. }
  234. var File_QwConversPushNotice_proto protoreflect.FileDescriptor
  235. var file_QwConversPushNotice_proto_rawDesc = []byte{
  236. 0x0a, 0x19, 0x51, 0x77, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x50, 0x75, 0x73, 0x68, 0x4e,
  237. 0x6f, 0x74, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x4a, 0x75, 0x62,
  238. 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e, 0x50,
  239. 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xba, 0x03, 0x0a, 0x10, 0x51, 0x77, 0x43, 0x6f, 0x6e, 0x76, 0x65,
  240. 0x72, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x55, 0x73, 0x65,
  241. 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x55, 0x73, 0x65,
  242. 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18,
  243. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a,
  244. 0x06, 0x49, 0x73, 0x53, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x49,
  245. 0x73, 0x53, 0x65, 0x6e, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x4d, 0x73, 0x67, 0x43, 0x6e, 0x74, 0x18,
  246. 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x4d, 0x73, 0x67, 0x43, 0x6e, 0x74, 0x12, 0x1c, 0x0a,
  247. 0x09, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05,
  248. 0x52, 0x09, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x55,
  249. 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52,
  250. 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x49,
  251. 0x73, 0x54, 0x6f, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x49, 0x73, 0x54, 0x6f,
  252. 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x49, 0x73, 0x53, 0x69, 0x6c, 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20,
  253. 0x01, 0x28, 0x08, 0x52, 0x08, 0x49, 0x73, 0x53, 0x69, 0x6c, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a,
  254. 0x08, 0x53, 0x68, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52,
  255. 0x08, 0x53, 0x68, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x41, 0x76, 0x61,
  256. 0x74, 0x61, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x41, 0x76, 0x61, 0x74, 0x61,
  257. 0x72, 0x12, 0x18, 0x0a, 0x07, 0x41, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01,
  258. 0x28, 0x05, 0x52, 0x07, 0x41, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x50,
  259. 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x50, 0x61, 0x72,
  260. 0x65, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d,
  261. 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4e,
  262. 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x10, 0x20, 0x01,
  263. 0x28, 0x09, 0x52, 0x05, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x55, 0x73, 0x65,
  264. 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x55, 0x73, 0x65,
  265. 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x52, 0x6f, 0x6f, 0x6d, 0x46, 0x6c, 0x61,
  266. 0x67, 0x18, 0x12, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x52, 0x6f, 0x6f, 0x6d, 0x46, 0x6c, 0x61,
  267. 0x67, 0x22, 0xd3, 0x01, 0x0a, 0x1a, 0x51, 0x77, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x50,
  268. 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  269. 0x12, 0x1a, 0x0a, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
  270. 0x28, 0x09, 0x52, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x07,
  271. 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e,
  272. 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57,
  273. 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x51, 0x77, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72,
  274. 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72,
  275. 0x73, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
  276. 0x04, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04,
  277. 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x50,
  278. 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x50, 0x61, 0x67, 0x65, 0x12,
  279. 0x16, 0x0a, 0x06, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52,
  280. 0x06, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x77, 0x6f, 0x72,
  281. 0x6b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  282. }
  283. var (
  284. file_QwConversPushNotice_proto_rawDescOnce sync.Once
  285. file_QwConversPushNotice_proto_rawDescData = file_QwConversPushNotice_proto_rawDesc
  286. )
  287. func file_QwConversPushNotice_proto_rawDescGZIP() []byte {
  288. file_QwConversPushNotice_proto_rawDescOnce.Do(func() {
  289. file_QwConversPushNotice_proto_rawDescData = protoimpl.X.CompressGZIP(file_QwConversPushNotice_proto_rawDescData)
  290. })
  291. return file_QwConversPushNotice_proto_rawDescData
  292. }
  293. var file_QwConversPushNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  294. var file_QwConversPushNotice_proto_goTypes = []any{
  295. (*QwConversMessage)(nil), // 0: Jubo.JuLiao.IM.Wx.Proto.QwConversMessage
  296. (*QwConversPushNoticeMessage)(nil), // 1: Jubo.JuLiao.IM.Wx.Proto.QwConversPushNoticeMessage
  297. }
  298. var file_QwConversPushNotice_proto_depIdxs = []int32{
  299. 0, // 0: Jubo.JuLiao.IM.Wx.Proto.QwConversPushNoticeMessage.Convers:type_name -> Jubo.JuLiao.IM.Wx.Proto.QwConversMessage
  300. 1, // [1:1] is the sub-list for method output_type
  301. 1, // [1:1] is the sub-list for method input_type
  302. 1, // [1:1] is the sub-list for extension type_name
  303. 1, // [1:1] is the sub-list for extension extendee
  304. 0, // [0:1] is the sub-list for field type_name
  305. }
  306. func init() { file_QwConversPushNotice_proto_init() }
  307. func file_QwConversPushNotice_proto_init() {
  308. if File_QwConversPushNotice_proto != nil {
  309. return
  310. }
  311. type x struct{}
  312. out := protoimpl.TypeBuilder{
  313. File: protoimpl.DescBuilder{
  314. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  315. RawDescriptor: file_QwConversPushNotice_proto_rawDesc,
  316. NumEnums: 0,
  317. NumMessages: 2,
  318. NumExtensions: 0,
  319. NumServices: 0,
  320. },
  321. GoTypes: file_QwConversPushNotice_proto_goTypes,
  322. DependencyIndexes: file_QwConversPushNotice_proto_depIdxs,
  323. MessageInfos: file_QwConversPushNotice_proto_msgTypes,
  324. }.Build()
  325. File_QwConversPushNotice_proto = out.File
  326. file_QwConversPushNotice_proto_rawDesc = nil
  327. file_QwConversPushNotice_proto_goTypes = nil
  328. file_QwConversPushNotice_proto_depIdxs = nil
  329. }