ConversationPushNotice.pb.go 14 KB

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