types.go 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266
  1. // Code generated by goctl. DO NOT EDIT.
  2. package types
  3. // The basic response with data | 基础带数据信息
  4. // swagger:model BaseDataInfo
  5. type BaseDataInfo struct {
  6. // Error code | 错误代码
  7. Code int `json:"code"`
  8. // Message | 提示信息
  9. Msg string `json:"msg"`
  10. // Data | 数据
  11. Data string `json:"data,omitempty"`
  12. }
  13. // The basic response with data | 基础带数据信息
  14. // swagger:model BaseListInfo
  15. type BaseListInfo struct {
  16. // The total number of data | 数据总数
  17. Total uint64 `json:"total"`
  18. // Data | 数据
  19. Data string `json:"data,omitempty"`
  20. }
  21. // The basic response without data | 基础不带数据信息
  22. // swagger:model BaseMsgResp
  23. type BaseMsgResp struct {
  24. // Error code | 错误代码
  25. Code int `json:"code"`
  26. // Message | 提示信息
  27. Msg string `json:"msg"`
  28. }
  29. // The page request parameters | 列表请求参数
  30. // swagger:model PageInfo
  31. type PageInfo struct {
  32. // Page number | 第几页
  33. // required : true
  34. // min : 0
  35. Page uint64 `json:"page" validate:"required,number,gt=0"`
  36. // Page size | 单页数据行数
  37. // required : true
  38. // max : 100000
  39. PageSize uint64 `json:"pageSize" validate:"required,number,lt=100000"`
  40. }
  41. // Basic ID request | 基础ID参数请求
  42. // swagger:model IDReq
  43. type IDReq struct {
  44. // ID
  45. // Required: true
  46. Id uint64 `json:"id" validate:"number"`
  47. }
  48. // Basic IDs request | 基础ID数组参数请求
  49. // swagger:model IDsReq
  50. type IDsReq struct {
  51. // IDs
  52. // Required: true
  53. Ids []uint64 `json:"ids"`
  54. }
  55. // Basic ID request | 基础ID地址参数请求
  56. // swagger:model IDPathReq
  57. type IDPathReq struct {
  58. // ID
  59. // Required: true
  60. Id uint64 `path:"id"`
  61. }
  62. // Basic ID request (int32) | 基础ID参数请求 (int32)
  63. // swagger:model IDInt32Req
  64. type IDInt32Req struct {
  65. // ID
  66. // Required: true
  67. Id int32 `json:"id" validate:"number"`
  68. }
  69. // Basic IDs request (int32) | 基础ID数组参数请求 (int32)
  70. // swagger:model IDsInt32Req
  71. type IDsInt32Req struct {
  72. // IDs
  73. // Required: true
  74. Ids []int32 `json:"ids"`
  75. }
  76. // Basic ID request (int32) | 基础ID地址参数请求 (int32)
  77. // swagger:model IDInt32PathReq
  78. type IDInt32PathReq struct {
  79. // ID
  80. // Required: true
  81. Id int32 `path:"id"`
  82. }
  83. // Basic ID request (uint32) | 基础ID参数请求 (uint32)
  84. // swagger:model IDUint32Req
  85. type IDUint32Req struct {
  86. // ID
  87. // Required: true
  88. Id uint32 `json:"id" validate:"number"`
  89. }
  90. // Basic IDs request (uint32) | 基础ID数组参数请求 (uint32)
  91. // swagger:model IDsUint32Req
  92. type IDsUint32Req struct {
  93. // IDs
  94. // Required: true
  95. Ids []uint32 `json:"ids"`
  96. }
  97. // Basic ID request (uint32) | 基础ID地址参数请求 (uint32)
  98. // swagger:model IDUint32PathReq
  99. type IDUint32PathReq struct {
  100. // ID
  101. // Required: true
  102. Id uint32 `path:"id"`
  103. }
  104. // Basic ID request (int64) | 基础ID参数请求 (int64)
  105. // swagger:model IDInt64Req
  106. type IDInt64Req struct {
  107. // ID
  108. // Required: true
  109. Id int64 `json:"id" validate:"number"`
  110. }
  111. // Basic IDs request (int64) | 基础ID数组参数请求 (int64)
  112. // swagger:model IDsInt64Req
  113. type IDsInt64Req struct {
  114. // IDs
  115. // Required: true
  116. Ids []int64 `json:"ids"`
  117. }
  118. // Basic ID request (int64) | 基础ID地址参数请求 (int64)
  119. // swagger:model IDInt64PathReq
  120. type IDInt64PathReq struct {
  121. // ID
  122. // Required: true
  123. Id int64 `path:"id"`
  124. }
  125. // Basic UUID request in path | 基础UUID地址参数请求
  126. // swagger:model UUIDPathReq
  127. type UUIDPathReq struct {
  128. // ID
  129. // Required: true
  130. Id string `path:"id"`
  131. }
  132. // Basic UUID request | 基础UUID参数请求
  133. // swagger:model UUIDReq
  134. type UUIDReq struct {
  135. // ID
  136. // required : true
  137. // max length : 36
  138. // min length : 36
  139. Id string `json:"id" validate:"required,len=36"`
  140. }
  141. // Basic UUID array request | 基础UUID数组参数请求
  142. // swagger:model UUIDsReq
  143. type UUIDsReq struct {
  144. // Ids
  145. // Required: true
  146. Ids []string `json:"ids"`
  147. }
  148. // The base ID response data | 基础ID信息
  149. // swagger:model BaseIDInfo
  150. type BaseIDInfo struct {
  151. // ID
  152. Id *uint64 `json:"id,optional"`
  153. // Create date | 创建日期
  154. CreatedAt *int64 `json:"createdAt,optional"`
  155. // Update date | 更新日期
  156. UpdatedAt *int64 `json:"updatedAt,optional"`
  157. }
  158. // The base ID response data (int64) | 基础ID信息 (int64)
  159. // swagger:model BaseIDInt64Info
  160. type BaseIDInt64Info struct {
  161. // ID
  162. Id *int64 `json:"id,optional"`
  163. // Create date | 创建日期
  164. CreatedAt *int64 `json:"createdAt,optional"`
  165. // Update date | 更新日期
  166. UpdatedAt *int64 `json:"updatedAt,optional"`
  167. }
  168. // The base ID response data (int32) | 基础ID信息 (int32)
  169. // swagger:model BaseIDInt32Info
  170. type BaseIDInt32Info struct {
  171. // ID
  172. Id *int32 `json:"id,optional"`
  173. // Create date | 创建日期
  174. CreatedAt *int64 `json:"createdAt,optional"`
  175. // Update date | 更新日期
  176. UpdatedAt *int64 `json:"updatedAt,optional"`
  177. }
  178. // The base ID response data (uint32) | 基础ID信息 (uint32)
  179. // swagger:model BaseIDUint32Info
  180. type BaseIDUint32Info struct {
  181. // ID
  182. Id *uint32 `json:"id,optional"`
  183. // Create date | 创建日期
  184. CreatedAt *int64 `json:"createdAt,optional"`
  185. // Update date | 更新日期
  186. UpdatedAt *int64 `json:"updatedAt,optional"`
  187. }
  188. // The base UUID response data | 基础UUID信息
  189. // swagger:model BaseUUIDInfo
  190. type BaseUUIDInfo struct {
  191. // ID
  192. Id *string `json:"id,optional"`
  193. // Create date | 创建日期
  194. CreatedAt *int64 `json:"createdAt,optional"`
  195. // Update date | 更新日期
  196. UpdatedAt *int64 `json:"updatedAt,optional"`
  197. }
  198. type Condition struct {
  199. Equal int `json:"equal"`
  200. LabelIdList []uint64 `json:"labelIdList"`
  201. }
  202. type Action struct {
  203. Type int `json:"type"`
  204. Content string `json:"content"`
  205. Meta Meta `json:"meta,optional"`
  206. }
  207. type Meta struct {
  208. Filename string `json:"filename,optional"`
  209. }
  210. // The response data of server information | Server信息
  211. // swagger:model ServerInfo
  212. type ServerInfo struct {
  213. BaseIDInfo
  214. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  215. Status *uint8 `json:"status,optional"`
  216. // 名称
  217. Name *string `json:"name,optional"`
  218. // 公网ip
  219. PublicIp *string `json:"publicIp,optional"`
  220. // 内网ip
  221. PrivateIp *string `json:"privateIp,optional"`
  222. // 管理端口
  223. AdminPort *string `json:"adminPort,optional"`
  224. }
  225. // The response data of server list | Server列表数据
  226. // swagger:model ServerListResp
  227. type ServerListResp struct {
  228. BaseDataInfo
  229. // Server list data | Server列表数据
  230. Data ServerListInfo `json:"data"`
  231. }
  232. // Server list data | Server列表数据
  233. // swagger:model ServerListInfo
  234. type ServerListInfo struct {
  235. BaseListInfo
  236. // The API list data | Server列表数据
  237. Data []ServerInfo `json:"data"`
  238. }
  239. // Get server list request params | Server列表请求参数
  240. // swagger:model ServerListReq
  241. type ServerListReq struct {
  242. PageInfo
  243. // 名称
  244. Name *string `json:"name,optional"`
  245. // 公网ip
  246. PublicIp *string `json:"publicIp,optional"`
  247. // 内网ip
  248. PrivateIp *string `json:"privateIp,optional"`
  249. }
  250. // Server information response | Server信息返回体
  251. // swagger:model ServerInfoResp
  252. type ServerInfoResp struct {
  253. BaseDataInfo
  254. // Server information | Server数据
  255. Data ServerInfo `json:"data"`
  256. }
  257. // The response data of wx information | Wx信息
  258. // swagger:model WxInfo
  259. type WxInfo struct {
  260. BaseIDInfo
  261. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  262. Status *uint8 `json:"status,optional"`
  263. // 服务器id
  264. ServerId *uint64 `json:"serverId,optional"`
  265. // 端口号
  266. Port *string `json:"port,optional"`
  267. // 进程号
  268. ProcessId *string `json:"processId,optional"`
  269. // 回调地址
  270. Callback *string `json:"callback,optional"`
  271. // 微信id
  272. Wxid *string `json:"wxid,optional"`
  273. // 微信账号
  274. Account *string `json:"account,optional"`
  275. // 微信昵称
  276. Nickname *string `json:"nickname,optional"`
  277. // 手机号
  278. Tel *string `json:"tel,optional"`
  279. // 微信头像
  280. HeadBig *string `json:"headBig,optional"`
  281. // 组织ID
  282. OrganizationId *uint64 `json:"organizationId,optional"`
  283. // 模式ID
  284. AgentId *uint64 `json:"agentId"`
  285. // 模式信息
  286. AgentInfo *AgentInfo `json:"agentInfo,optional"`
  287. }
  288. // The response data of wx list | Wx列表数据
  289. // swagger:model WxListResp
  290. type WxListResp struct {
  291. BaseDataInfo
  292. // Wx list data | Wx列表数据
  293. Data WxListInfo `json:"data"`
  294. }
  295. // Wx list data | Wx列表数据
  296. // swagger:model WxListInfo
  297. type WxListInfo struct {
  298. BaseListInfo
  299. // The API list data | Wx列表数据
  300. Data []WxInfo `json:"data"`
  301. }
  302. // Get wx list request params | Wx列表请求参数
  303. // swagger:model WxListReq
  304. type WxListReq struct {
  305. PageInfo
  306. // 端口号
  307. Port *string `json:"port,optional"`
  308. // 进程号
  309. ProcessId *string `json:"processId,optional"`
  310. // 回调地址
  311. Callback *string `json:"callback,optional"`
  312. }
  313. // Wx information response | Wx信息返回体
  314. // swagger:model WxInfoResp
  315. type WxInfoResp struct {
  316. BaseDataInfo
  317. // Wx information | Wx数据
  318. Data WxInfo `json:"data"`
  319. }
  320. // The data of agent information | Agent信息
  321. // swagger:model AgentInfo
  322. type AgentInfo struct {
  323. BaseIDInfo
  324. // name | 角色名称
  325. Name *string `json:"name,optional"`
  326. // role | 角色设定
  327. Role *string `json:"role,optional"`
  328. // status | 状态 1-正常 2-禁用
  329. Status *int `json:"status,optional"`
  330. // background | 背景介绍
  331. Background *string `json:"background,optional"`
  332. // examples | 对话案例
  333. Examples *string `json:"examples,optional"`
  334. }
  335. // The response data of agent list | Agent列表数据
  336. // swagger:model AgentListResp
  337. type AgentListResp struct {
  338. BaseDataInfo
  339. // Agent list data | Agent列表数据
  340. Data AgentListInfo `json:"data"`
  341. }
  342. // Agent list data | Agent列表数据
  343. // swagger:model AgentListInfo
  344. type AgentListInfo struct {
  345. BaseListInfo
  346. // The API list data | Agent列表数据
  347. Data []AgentInfo `json:"data"`
  348. }
  349. // Get agent list request params | Agent列表请求参数
  350. // swagger:model AgentListReq
  351. type AgentListReq struct {
  352. PageInfo
  353. // name | 角色名称
  354. Name *string `json:"name,optional"`
  355. // role | 角色设定
  356. Role *string `json:"role,optional"`
  357. // background | 背景介绍
  358. Background *string `json:"background,optional"`
  359. // status | 状态 1-可用 2-不可用
  360. Status *int `json:"status,optional"`
  361. }
  362. // Agent information response | Agent信息返回体
  363. // swagger:model AgentInfoResp
  364. type AgentInfoResp struct {
  365. BaseDataInfo
  366. // Agent information | Agent数据
  367. Data AgentInfo `json:"data"`
  368. }
  369. type LoginQRStatus struct {
  370. // 登陆二维码
  371. QRCode string `json:"qRCode,optional"`
  372. // 登陆二维码状态
  373. Status string `json:"status,optional"`
  374. // 登陆二维码状态描述
  375. StatusDesc string `json:"statusDesc,optional"`
  376. }
  377. // 刷新登陆二维码请求参数
  378. // swagger:model RefreshLoginQRReq
  379. type RefreshLoginQRReq struct {
  380. // 服务器id
  381. ServerId *uint64 `json:"serverId,optional"`
  382. // 端口号
  383. Port *string `json:"port,optional"`
  384. // 回调地址
  385. Callback *string `json:"callback,optional"`
  386. }
  387. // 刷新登陆二维码返回参数
  388. // swagger:model RefreshLoginQRResp
  389. type RefreshLoginQRResp struct {
  390. BaseDataInfo
  391. // 二维码Base64
  392. Data LoginQRStatus `json:"data,optional"`
  393. }
  394. // 发送微信文本消息请求参数
  395. // swagger:model SendTextMsgReq
  396. type SendTextMsgReq struct {
  397. // 属主微信id
  398. WxWxid *string `json:"senderWxId"`
  399. // 微信id 公众号微信ID
  400. Wxid *string `json:"receiverWxId"`
  401. // 微信文本消息内容
  402. Msg *string `json:"msg"`
  403. }
  404. // 发送微信图片消息请求参数
  405. // swagger:model SendPicMsgReq
  406. type SendPicMsgReq struct {
  407. // 属主微信id
  408. WxWxid *string `json:"wxWxid"`
  409. // 微信id 公众号微信ID
  410. Wxid *string `json:"wxid"`
  411. // 微信图片路径(本地或网络,本地需要上传操作,如:C:\\x.jpg)
  412. Picpath *string `json:"picpath"`
  413. // 微信图片自定义名称(此属性只有网络图片有)
  414. Diyfilename *string `json:"diyfilename,optional"`
  415. }
  416. // 发送微信图片(本地)请求参数
  417. // swagger:model SendPicMsgLocalReq
  418. type SendPicMsgLocalReq struct {
  419. // 属主微信id
  420. WxWxid *string `json:"wxWxid"`
  421. // 微信id 公众号微信ID
  422. Wxid *string `json:"wxid"`
  423. // 微信图片路径(本地或网络,本地需要上传操作,如:C:\\x.jpg)
  424. Picpath *string `json:"picpath"`
  425. }
  426. // The response data of contact list | Contact列表数据
  427. // swagger:model ContactListResp
  428. type ContactListResp struct {
  429. BaseDataInfo
  430. // Contact list data | Contact列表数据
  431. Data ContactListInfo `json:"data"`
  432. }
  433. // Contact list data | Contact列表数据
  434. // swagger:model ContactListInfo
  435. type ContactListInfo struct {
  436. BaseListInfo
  437. // The API list data | Contact列表数据
  438. Data []ContactInfo `json:"data"`
  439. }
  440. // Get contact list request params | Contact列表请求参数
  441. // swagger:model ContactListReq
  442. type ContactListReq struct {
  443. PageInfo
  444. // Label ID list | 标签ID列表
  445. LabelIDs []uint64 `json:"labelIDs,optional"`
  446. // 属主微信id
  447. WxWxid *string `json:"wxWxid,optional"`
  448. // 微信id 公众号微信ID
  449. Wxid *string `json:"wxid,optional"`
  450. // 微信账号
  451. Account *string `json:"account,optional"`
  452. // 联系人类型:1好友,2群组,3公众号,4企业微信联系人
  453. Type *int `json:"type,optional"`
  454. }
  455. // Contact information response | Contact信息返回体
  456. // swagger:model ContactInfoResp
  457. type ContactInfoResp struct {
  458. BaseDataInfo
  459. // Contact information | Contact数据
  460. Data ContactInfo `json:"data"`
  461. }
  462. // swagger:model AddNewFriendReq
  463. type AddNewFriendReq struct {
  464. OwnerWxid string `json:"ownerWxid"`
  465. Wxid string `json:"wxid"`
  466. Gid string `json:"gid"`
  467. Desc string `json:"desc"`
  468. AddType string `json:"addType"`
  469. }
  470. // ContactLabelList | Contact标签列表
  471. type ContactLabelList struct {
  472. // label
  473. Label *string `json:"label,optional"`
  474. // value
  475. Value *uint64 `json:"value,optional"`
  476. }
  477. // The response data of contact information | Contact信息
  478. // swagger:model ContactInfo
  479. type ContactInfo struct {
  480. BaseIDInfo
  481. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  482. Status *uint8 `json:"status,optional"`
  483. // 属主微信id
  484. WxWxid *string `json:"wxWxid,optional"`
  485. // 联系人类型:1好友,2群组,3公众号,4企业微信联系人
  486. Type *int `json:"type,optional"`
  487. // 微信id 公众号微信ID
  488. Wxid *string `json:"wxid,optional"`
  489. // 微信账号
  490. Account *string `json:"account,optional"`
  491. // 微信昵称 群备注名称
  492. Nickname *string `json:"nickname,optional"`
  493. // 备注名
  494. Markname *string `json:"markname,optional"`
  495. // 头像
  496. Headimg *string `json:"headimg,optional"`
  497. // 性别 0未知 1男 2女
  498. Sex *int `json:"sex,optional"`
  499. // 星标 65/67=星标 1/3=未星标
  500. Starrole *string `json:"starrole,optional"`
  501. // 不让他看我的朋友圈 0可以看 1不让看
  502. Dontseeit *int `json:"dontseeit,optional"`
  503. // 不看他的朋友圈 0可以看 1不看 1=开启了不看他 128/129=仅聊天
  504. Dontseeme *int `json:"dontseeme,optional"`
  505. // 所属标签id清单,多开会用逗号隔开
  506. Lag *string `json:"lag,optional"`
  507. // 群组id
  508. Gid *string `json:"gid,optional"`
  509. // 群组名称
  510. Gname *string `json:"gname,optional"`
  511. // v3数据
  512. V3 *string `json:"v3,optional"`
  513. // Label Relationships | 标签关系
  514. LabelRelationships []ContactLabelList `json:"labelRelationships,optional"`
  515. // 组织ID
  516. OrganizationId *uint64 `json:"organizationId,optional"`
  517. }
  518. // The response data of label information | Label信息
  519. // swagger:model LabelInfo
  520. type LabelInfo struct {
  521. BaseIDInfo
  522. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  523. Status *uint8 `json:"status,optional"`
  524. // 标签类型:1好友,2群组,3公众号,4企业微信联系人
  525. Type *int `json:"type,optional"`
  526. // 标签名称
  527. Name *string `json:"name,optional"`
  528. // 标签来源:1后台创建 2个微同步
  529. From *int `json:"from,optional"`
  530. // 标签模式:1动态 2静态
  531. Mode *int `json:"mode,optional"`
  532. // 标签的触达条件
  533. Conditions *string `json:"conditions,optional"`
  534. // 组织ID
  535. OrganizationId *uint64 `json:"organizationId,optional"`
  536. // Label Relationships | 标签关系
  537. LabelRelationships []LabelRelationshipInfo `json:"labelRelationships,optional"`
  538. }
  539. // The response data of label relationship information | LabelRelationship信息
  540. // swagger:model LabelRelationshipInfo
  541. type LabelRelationshipInfo struct {
  542. BaseIDInfo
  543. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  544. Status *uint8 `json:"status,optional"`
  545. // 标签 ID
  546. LabelId *uint64 `json:"labelId,optional"`
  547. // 联系人 ID
  548. ContactId *uint64 `json:"contactId,optional"`
  549. // Contact information | 联系人信息
  550. Contact ContactInfo `json:"contact,optional"`
  551. // Label information | 标签信息
  552. Label LabelInfo `json:"label,optional"`
  553. // 组织ID
  554. OrganizationId *uint64 `json:"organizationId,optional"`
  555. }
  556. // The response data of label relationship information | LabelRelationship信息
  557. // swagger:model LabelRelationshipsInfo
  558. type LabelRelationshipsInfo struct {
  559. BaseIDInfo
  560. // 更新类型:为空或“all”时表示全量更新,为 “add” 时表示仅追加
  561. UpdateType *string `json:"updateType,optional"`
  562. // 标签 ID
  563. LabelIds []uint64 `json:"labelIds,optional"`
  564. // 联系人 ID
  565. ContactId *uint64 `json:"contactId,optional"`
  566. }
  567. // The response data of label relationship list | LabelRelationship列表数据
  568. // swagger:model LabelRelationshipListResp
  569. type LabelRelationshipListResp struct {
  570. BaseDataInfo
  571. // LabelRelationship list data | LabelRelationship列表数据
  572. Data LabelRelationshipListInfo `json:"data"`
  573. }
  574. // LabelRelationship list data | LabelRelationship列表数据
  575. // swagger:model LabelRelationshipListInfo
  576. type LabelRelationshipListInfo struct {
  577. BaseListInfo
  578. // The API list data | LabelRelationship列表数据
  579. Data []LabelRelationshipInfo `json:"data"`
  580. }
  581. // Get label relationship list request params | LabelRelationship列表请求参数
  582. // swagger:model LabelRelationshipListReq
  583. type LabelRelationshipListReq struct {
  584. PageInfo
  585. }
  586. // LabelRelationship information response | LabelRelationship信息返回体
  587. // swagger:model LabelRelationshipInfoResp
  588. type LabelRelationshipInfoResp struct {
  589. BaseDataInfo
  590. // LabelRelationship information | LabelRelationship数据
  591. Data LabelRelationshipInfo `json:"data"`
  592. }
  593. // The response data of message information | Message信息
  594. // swagger:model MessageInfo
  595. type MessageInfo struct {
  596. BaseIDInfo
  597. // 属主微信id
  598. WxWxid *string `json:"wxWxid"`
  599. // 微信id 公众号微信ID
  600. Wxid *string `json:"wxid"`
  601. // 微信消息内容
  602. Msg *string `json:"msg"`
  603. }
  604. // The response data of message list | Message列表数据
  605. // swagger:model MessageListResp
  606. type MessageListResp struct {
  607. BaseDataInfo
  608. // Message list data | Message列表数据
  609. Data MessageListInfo `json:"data"`
  610. }
  611. // Message list data | Message列表数据
  612. // swagger:model MessageListInfo
  613. type MessageListInfo struct {
  614. BaseListInfo
  615. // The API list data | Message列表数据
  616. Data []MessageInfo `json:"data"`
  617. }
  618. // Get message list request params | Message列表请求参数
  619. // swagger:model MessageListReq
  620. type MessageListReq struct {
  621. PageInfo
  622. // 属主微信id
  623. WxWxid *string `json:"wxWxid,optional"`
  624. // 微信id 公众号微信ID
  625. Wxid *string `json:"wxid,optional"`
  626. }
  627. // Message information response | Message信息返回体
  628. // swagger:model MessageInfoResp
  629. type MessageInfoResp struct {
  630. BaseDataInfo
  631. // Message information | Message数据
  632. Data MessageInfo `json:"data"`
  633. }
  634. // The response data of label list | Label列表数据
  635. // swagger:model LabelSelectListResp
  636. type LabelSelectListResp struct {
  637. BaseDataInfo
  638. // Label list data | Label列表数据
  639. Data []LabelSelectListInfo `json:"data"`
  640. }
  641. // The response data of label list | Label列表数据
  642. // swagger:model LabelListResp
  643. type LabelListResp struct {
  644. BaseDataInfo
  645. // Label list data | Label列表数据
  646. Data LabelListInfo `json:"data"`
  647. }
  648. // Label list data | Label列表数据
  649. // swagger:model LabelListInfo
  650. type LabelListInfo struct {
  651. BaseListInfo
  652. // The API list data | Label列表数据
  653. Data []LabelInfo `json:"data"`
  654. }
  655. // Get label list request params | Label列表请求参数
  656. // swagger:model LabelListReq
  657. type LabelListReq struct {
  658. PageInfo
  659. // Label ID list | Label ID列表
  660. LabelIDs []uint64 `json:"labelIDs,optional"`
  661. // 标签类型:1好友,2群组,3公众号,4企业微信联系人
  662. Type *int `json:"type,optional"`
  663. // 标签名称
  664. Name *string `json:"name,optional"`
  665. // 标签来源:1后台创建 2个微同步
  666. From *int `json:"from,optional"`
  667. // 标签模式:1动态 2静态
  668. Mode *int `json:"mode,optional"`
  669. }
  670. // Label information response | Label信息返回体
  671. // swagger:model LabelInfoResp
  672. type LabelInfoResp struct {
  673. BaseDataInfo
  674. // Label information | Label数据
  675. Data LabelInfo `json:"data"`
  676. }
  677. // swagger:model LabelSelectListInfo
  678. type LabelSelectListInfo struct {
  679. // label
  680. Label *string `json:"label,optional"`
  681. // value
  682. Value *uint64 `json:"value,optional"`
  683. }
  684. // The response data of sop task list | SopTask列表数据
  685. // swagger:model SopTaskListResp
  686. type SopTaskListResp struct {
  687. BaseDataInfo
  688. // SopTask list data | SopTask列表数据
  689. Data SopTaskListInfo `json:"data"`
  690. }
  691. // The response data of sop task record list | SopTask列表数据
  692. // swagger:model SopTaskRecordListResp
  693. type SopTaskRecordListResp struct {
  694. BaseDataInfo
  695. // SopTask list data | SopTask列表数据
  696. Data []SopTaskRecordInfo `json:"data"`
  697. }
  698. // SopTask list data | SopTask列表数据
  699. // swagger:model SopTaskRecordInfo
  700. type SopTaskRecordInfo struct {
  701. // NodeId 节点ID
  702. SourceType *int `json:"sourceType,optional"`
  703. // NodeId 节点ID
  704. SourceId *uint64 `json:"sourceId,optional"`
  705. // 节点名称
  706. Name *string `json:"name,optional"`
  707. // 消息总数
  708. TotalCount *int64 `json:"totalCount,optional"`
  709. // 成功数
  710. SuccessCount *int64 `json:"successCount,optional"`
  711. // 失败数
  712. FailureCount *int64 `json:"failureCount,optional"`
  713. // 成功率
  714. SuccessRate *int64 `json:"successRate,optional"`
  715. }
  716. // SopTask list data | SopTask列表数据
  717. // swagger:model SopTaskListInfo
  718. type SopTaskListInfo struct {
  719. BaseListInfo
  720. // The API list data | SopTask列表数据
  721. Data []SopTaskInfo `json:"data"`
  722. }
  723. // Get sop task list request params | SopTask列表请求参数
  724. // swagger:model SopTaskListReq
  725. type SopTaskListReq struct {
  726. PageInfo
  727. // SOP 任务名称
  728. Name *string `json:"name,optional"`
  729. // 创建者 id
  730. CreatorId *string `json:"creatorId,optional"`
  731. }
  732. // SopTask information response | SopTask信息返回体
  733. // swagger:model SopTaskInfoResp
  734. type SopTaskInfoResp struct {
  735. BaseDataInfo
  736. // SopTask information | SopTask数据
  737. Data SopTaskInfo `json:"data"`
  738. }
  739. // SopTask create response | SopTask创建回体
  740. // swagger:model SopTaskCreateResp
  741. type SopTaskCreateResp struct {
  742. BaseDataInfo
  743. // SopTask id | SopTask id
  744. Data uint64 `json:"data"`
  745. }
  746. // The response data of sop stage information | SopStage信息
  747. // swagger:model SopStageInfo
  748. type SopStageInfo struct {
  749. BaseIDInfo
  750. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  751. Status *uint8 `json:"status,optional"`
  752. // SOP 任务 ID
  753. TaskId *uint64 `json:"taskId,optional"`
  754. // 阶段名称
  755. Name *string `json:"name,optional"`
  756. // 客群筛选条件类型 1 按标签筛选 2 按客户基本信息筛选
  757. ConditionType *int `json:"conditionType,optional"`
  758. // 筛选条件关系 1 满足所有条件(and) 2 满足任意条件(or)
  759. ConditionOperator *int `json:"conditionOperator,optional"`
  760. // 筛选条件列表
  761. ConditionList []Condition `json:"conditionList,optional"`
  762. // 命中后发送的消息内容
  763. ActionMessage []Action `json:"actionMessage,optional"`
  764. // 命中后需要打的标签
  765. ActionLabel []uint64 `json:"actionLabel,optional"`
  766. // 阶段顺序
  767. IndexSort *int `json:"indexSort,optional"`
  768. // sop 任务信息
  769. TaskInfo *SopTaskInfo `json:"taskInfo,optional"`
  770. // node 信息
  771. NodeList []SopNodeInfo `json:"nodeList,optional"`
  772. }
  773. // The response data of sop task information | SopTask信息
  774. // swagger:model SopTaskInfo
  775. type SopTaskInfo struct {
  776. BaseIDInfo
  777. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  778. Status *uint8 `json:"status,optional"`
  779. // SOP 任务名称
  780. Name *string `json:"name,optional"`
  781. // 机器人微信 id 列表
  782. BotWxidList []string `json:"botWxidList,optional"`
  783. // 标签类型:1好友,2群组,3企业微信联系人
  784. Type *int `json:"type,optional"`
  785. // 任务计划开始时间
  786. PlanStartTime *int64 `json:"planStartTime,optional"`
  787. // 任务计划结束时间
  788. PlanEndTime *int64 `json:"planEndTime,optional"`
  789. // 创建者 id
  790. CreatorId *string `json:"creatorId,optional"`
  791. // 阶段信息
  792. StageList []SopStageInfo `json:"stageList,optional"`
  793. // 组织ID
  794. OrganizationId *uint64 `json:"organizationId,optional"`
  795. }
  796. // The response data of sop node information | SopNode信息
  797. // swagger:model SopNodeInfo
  798. type SopNodeInfo struct {
  799. BaseIDInfo
  800. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  801. Status *uint8 `json:"status,optional"`
  802. // 阶段 ID
  803. StageId *uint64 `json:"stageId,optional"`
  804. // 父节点 ID
  805. ParentId *uint64 `json:"parentId,optional"`
  806. // 节点名称
  807. Name *string `json:"name,optional"`
  808. // 触发条件类型 1 客户回复后触发 2 超时后触发
  809. ConditionType *int `json:"conditionType,optional"`
  810. // 触发语义列表 当为空时则代表用户回复任意内容后触发
  811. ConditionList []string `json:"conditionList,optional"`
  812. // 超时触发时间(分钟)
  813. NoReplyCondition *uint64 `json:"noReplyCondition,optional"`
  814. // 命中后发送的消息内容
  815. ActionMessage []Action `json:"actionMessage,optional"`
  816. // 命中后需要打的标签
  817. ActionLabel []uint64 `json:"actionLabel,optional"`
  818. // 阶段信息
  819. StageInfo *SopStageInfo `json:"stageInfo,optional"`
  820. }
  821. // The response data of sop stage list | SopStage列表数据
  822. // swagger:model SopStageListResp
  823. type SopStageListResp struct {
  824. BaseDataInfo
  825. // SopStage list data | SopStage列表数据
  826. Data SopStageListInfo `json:"data"`
  827. }
  828. // SopStage list data | SopStage列表数据
  829. // swagger:model SopStageListInfo
  830. type SopStageListInfo struct {
  831. BaseListInfo
  832. // The API list data | SopStage列表数据
  833. Data []SopStageInfo `json:"data"`
  834. }
  835. // Get sop stage list request params | SopStage列表请求参数
  836. // swagger:model SopStageListReq
  837. type SopStageListReq struct {
  838. TaskId *uint64 `json:"taskId"`
  839. }
  840. // SopStage information response | SopStage信息返回体
  841. // swagger:model SopStageInfoResp
  842. type SopStageInfoResp struct {
  843. BaseDataInfo
  844. // SopStage information | SopStage数据
  845. Data SopStageInfo `json:"data"`
  846. }
  847. // SopStage create response | SopStage创建回体
  848. // swagger:model SopStageCreateResp
  849. type SopStageCreateResp struct {
  850. BaseDataInfo
  851. // SopStage id | SopStage id
  852. Data uint64 `json:"data"`
  853. }
  854. // Move sop stage request params | 移动阶段请求参数
  855. // swagger:model SopStageMoveReq
  856. type SopStageMoveReq struct {
  857. BaseIDInfo
  858. // 阶段名称
  859. Offset *int `json:"offset,optional"`
  860. }
  861. // The response data of sop node list | SopNode列表数据
  862. // swagger:model SopNodeListResp
  863. type SopNodeListResp struct {
  864. BaseDataInfo
  865. // SopNode list data | SopNode列表数据
  866. Data []*SopChildNodeInfo `json:"data"`
  867. }
  868. // SopNode list data | SopNode列表数据
  869. // swagger:model SopChildNodeInfo
  870. type SopChildNodeInfo struct {
  871. NodeName *string `json:"nodeName,optional"`
  872. ChildNode *SopChildNodeInfo `json:"childNode,optional"`
  873. // The API list data | SopNode列表数据
  874. ConditionNodes []*SopChildNodeInfo `json:"conditionNodes"`
  875. SopNodeInfo
  876. }
  877. // SopNode list data | SopNode列表数据
  878. // swagger:model SopNodeListInfo
  879. type SopNodeListInfo struct {
  880. BaseListInfo
  881. // The API list data | SopNode列表数据
  882. Data []SopNodeInfo `json:"data"`
  883. }
  884. // Get sop node list request params | SopNode列表请求参数
  885. // swagger:model SopNodeListReq
  886. type SopNodeListReq struct {
  887. StageId *uint64 `json:"stageId"`
  888. }
  889. // SopNode information response | SopNode信息返回体
  890. // swagger:model SopNodeInfoResp
  891. type SopNodeInfoResp struct {
  892. BaseDataInfo
  893. // SopNode information | SopNode数据
  894. Data SopNodeInfo `json:"data"`
  895. }
  896. // SopNode create response | SopNode创建返回体
  897. // swagger:model SopNodeCreateResp
  898. type SopNodeCreateResp struct {
  899. BaseDataInfo
  900. // SopNode id | SopNode id
  901. Data uint64 `json:"data"`
  902. }
  903. // The response data of message records information | MessageRecords信息
  904. // swagger:model MessageRecordsInfo
  905. type MessageRecordsInfo struct {
  906. BaseIDInfo
  907. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  908. Status *uint8 `json:"status,optional"`
  909. // 机器人微信 id
  910. BotWxid *string `json:"botWxid,optional"`
  911. // 联系人 id
  912. ContactId *uint64 `json:"contactId,optional"`
  913. // 类型:1好友,2群组,3企业微信联系人
  914. ContactType *int `json:"contactType,optional"`
  915. // 接收方微信 id
  916. ContactWxid *string `json:"contactWxid,optional"`
  917. // 内容类型 1 文本 2 文件
  918. ContentType *int `json:"contentType,optional"`
  919. // 发送内容
  920. Content *string `json:"content,optional"`
  921. // 元数据
  922. Meta *Meta `json:"meta,optional"`
  923. // 异常原因
  924. ErrorDetail *string `json:"errorDetail,optional"`
  925. // 发送时间
  926. SendTime *int64 `json:"sendTime,optional"`
  927. // 源类型 1 点发 2 群发 3 SOP
  928. SourceType *int `json:"sourceType,optional"`
  929. // 源 ID
  930. SourceId *uint64 `json:"sourceId,optional"`
  931. // 次源 ID
  932. SubSourceId *uint64 `json:"subSourceId,optional"`
  933. // 组织ID
  934. OrganizationId *uint64 `json:"organizationId,optional"`
  935. }
  936. // The response data of message records list | MessageRecords列表数据
  937. // swagger:model MessageRecordsListResp
  938. type MessageRecordsListResp struct {
  939. BaseDataInfo
  940. // MessageRecords list data | MessageRecords列表数据
  941. Data MessageRecordsListInfo `json:"data"`
  942. }
  943. // MessageRecords list data | MessageRecords列表数据
  944. // swagger:model MessageRecordsListInfo
  945. type MessageRecordsListInfo struct {
  946. BaseListInfo
  947. // The API list data | MessageRecords列表数据
  948. Data []MessageRecordsInfo `json:"data"`
  949. }
  950. // Get message records list request params | MessageRecords列表请求参数
  951. // swagger:model MessageRecordsListReq
  952. type MessageRecordsListReq struct {
  953. PageInfo
  954. // 机器人微信 id
  955. BotWxid *string `json:"botWxid,optional"`
  956. // 接收方微信 id
  957. ContactWxid *string `json:"contactWxid,optional"`
  958. // 发送内容
  959. Content *string `json:"content,optional"`
  960. // 发送内容
  961. SourceType *int `json:"sourceType,optional"`
  962. // 发送内容
  963. SourceId *uint64 `json:"sourceId,optional"`
  964. }
  965. // MessageRecords information response | MessageRecords信息返回体
  966. // swagger:model MessageRecordsInfoResp
  967. type MessageRecordsInfoResp struct {
  968. BaseDataInfo
  969. // MessageRecords information | MessageRecords数据
  970. Data MessageRecordsInfo `json:"data"`
  971. }
  972. // The response data of chatroom member information | ChatroomMember信息
  973. // swagger:model ChatroomMemberInfo
  974. type ChatroomMemberInfo struct {
  975. // 名称
  976. Wxid *string `json:"wxid,optional"`
  977. // 群组
  978. ChatRoom *string `json:"chatRoom,optional"`
  979. // 属主Wxid
  980. OwnerWxid *string `json:"ownerWxid,optional"`
  981. // 账号
  982. Account *string `json:"account,optional"`
  983. }
  984. // The response data of chatroom member list | ChatroomMember列表数据
  985. // swagger:model ChatroomMemberListResp
  986. type ChatroomMemberListResp struct {
  987. BaseDataInfo
  988. // chatroom member list data | chatroom member 列表数据
  989. Data ChatroomMemberListInfo `json:"data"`
  990. }
  991. // chatroom member list data | chatroom member列表数据
  992. // swagger:model ChatroomMemberListInfo
  993. type ChatroomMemberListInfo struct {
  994. BaseListInfo
  995. // The API list data | chatroom member列表数据
  996. Data []ChatroomMemberInfo `json:"data"`
  997. }
  998. // Get chatroom member list request params | ChatroomMember列表请求参数
  999. // swagger:model ChatroomMemberListReq
  1000. type ChatroomMemberListReq struct {
  1001. PageInfo
  1002. // 属主Wxid
  1003. OwnerWxid *string `json:"ownerWxid,optional"`
  1004. // 群组
  1005. ChatRoom *string `json:"chatRoom,optional"`
  1006. }
  1007. // chatroom member information response | ChatroomMember信息返回体
  1008. // swagger:model ChatroomMemberInfoResp
  1009. type ChatroomMemberInfoResp struct {
  1010. BaseDataInfo
  1011. // Server information | Server数据
  1012. Data ChatroomMemberInfo `json:"data"`
  1013. }
  1014. // The response data of user information | 用户信息
  1015. // swagger:model UserInfo
  1016. type UserInfo struct {
  1017. BaseUUIDInfo
  1018. // Status | 状态
  1019. // max : 20
  1020. Status *uint32 `json:"status,optional" validate:"omitempty,lt=20"`
  1021. // Username | 用户名
  1022. // max length : 50
  1023. Username *string `json:"username,optional" validate:"omitempty,max=50"`
  1024. // Nickname | 昵称
  1025. // max length : 40
  1026. Nickname *string `json:"nickname,optional" validate:"omitempty,max=40"`
  1027. // Password | 密码
  1028. // min length : 6
  1029. Password *string `json:"password,optional" validate:"omitempty,min=6"`
  1030. // Description | 描述
  1031. // max length : 100
  1032. Description *string `json:"description,optional" validate:"omitempty,max=100"`
  1033. // HomePath | 首页
  1034. // max length : 70
  1035. HomePath *string `json:"homePath,optional" validate:"omitempty,max=70"`
  1036. // RoleId | 角色ID
  1037. RoleIds []uint64 `json:"roleIds,optional"`
  1038. // Mobile | 手机号
  1039. // max length : 18
  1040. Mobile *string `json:"mobile,optional" validate:"omitempty,max=18"`
  1041. // Email | 邮箱
  1042. // max length : 80
  1043. Email *string `json:"email,optional" validate:"omitempty,max=80"`
  1044. // Avatar | 头像地址
  1045. // max length : 300
  1046. Avatar *string `json:"avatar,optional" validate:"omitempty,max=300"`
  1047. // Department ID | 部门ID
  1048. DepartmentId *uint64 `json:"departmentId,optional,omitempty"`
  1049. // Position ID | 职位ID
  1050. PositionIds []uint64 `json:"positionId,optional,omitempty"`
  1051. }
  1052. // User information response | 用户信息返回体
  1053. // swagger:model UserInfoResp
  1054. type UserInfoResp struct {
  1055. BaseDataInfo
  1056. // User information | User数据
  1057. Data UserInfo `json:"data"`
  1058. }
  1059. // The response data of user's basic information | 用户基本信息返回数据
  1060. // swagger:model UserBaseIDInfoResp
  1061. type UserBaseIDInfoResp struct {
  1062. BaseDataInfo
  1063. // The data of user's basic information | 用户基本信息
  1064. Data UserBaseIDInfo `json:"data"`
  1065. }
  1066. // The data of user's basic information | 用户基本信息
  1067. // swagger:model UserBaseIDInfo
  1068. type UserBaseIDInfo struct {
  1069. // User's UUID | 用户的UUID
  1070. UUID *string `json:"userId"`
  1071. // User's name | 用户名
  1072. Username *string `json:"username"`
  1073. // User's nickname | 用户的昵称
  1074. Nickname *string `json:"nickname"`
  1075. // The user's avatar path | 用户的头像路径
  1076. Avatar *string `json:"avatar"`
  1077. // The home page that the user enters after logging in | 用户登陆后进入的首页
  1078. HomePath *string `json:"homePath"`
  1079. // The description of user | 用户的描述信息
  1080. Description *string `json:"desc"`
  1081. // User's Role Name | 用户的角色名称
  1082. RoleName []string `json:"roleName"`
  1083. // Department Name | 部门名称
  1084. DepartmentName string `json:"departmentName,optional"`
  1085. // Department Name | 部门备注
  1086. DepartmentRemark string `json:"departmentRemark,optional"`
  1087. }
  1088. // swagger:model WxidReq
  1089. type WxidReq struct {
  1090. Wxid string `json:"wxid"`
  1091. }
  1092. // The data of batch msg information | BatchMsg信息
  1093. // swagger:model BatchMsgInfo
  1094. type BatchMsgInfo struct {
  1095. BaseIDInfo
  1096. // 状态 0 未开始 1 开始发送 2 发送完成 3 发送中止
  1097. Status *uint8 `json:"status,optional"`
  1098. // 批次号
  1099. BatchNo *string `json:"batchNo,optional"`
  1100. // 发送方微信ID
  1101. Fromwxid *string `json:"fromwxid,optional"`
  1102. // 内容
  1103. Msg *string `json:"msg,optional"`
  1104. // 发送规则 all 全部 tag1,tag2 按tag发送
  1105. Tag *string `json:"tag,optional"`
  1106. // 总数
  1107. Total *int32 `json:"total,optional"`
  1108. // 成功数量
  1109. Success *int32 `json:"success,optional"`
  1110. // 失败数量
  1111. Fail *int32 `json:"fail,optional"`
  1112. // 开始时间
  1113. StartTime *int64 `json:"startTime,optional"`
  1114. StartTimeStr *string `json:"startTimeStr,optional"`
  1115. // 结束时间
  1116. StopTime *int64 `json:"stopTime,optional"`
  1117. // 标签列表
  1118. Labels []string `json:"labels,optional"`
  1119. }
  1120. // The response data of batch msg list | BatchMsg列表数据
  1121. // swagger:model BatchMsgListResp
  1122. type BatchMsgListResp struct {
  1123. BaseDataInfo
  1124. // BatchMsg list data | BatchMsg列表数据
  1125. Data BatchMsgListInfo `json:"data"`
  1126. }
  1127. // BatchMsg list data | BatchMsg列表数据
  1128. // swagger:model BatchMsgListInfo
  1129. type BatchMsgListInfo struct {
  1130. BaseListInfo
  1131. // The API list data | BatchMsg列表数据
  1132. Data []BatchMsgInfo `json:"data"`
  1133. }
  1134. // Get batch msg list request params | BatchMsg列表请求参数
  1135. // swagger:model BatchMsgListReq
  1136. type BatchMsgListReq struct {
  1137. PageInfo
  1138. // 批次号
  1139. BatchNo *string `json:"batchNo,optional"`
  1140. // 发送方微信ID
  1141. Fromwxid *string `json:"fromwxid,optional"`
  1142. // 内容
  1143. Msg *string `json:"msg,optional"`
  1144. }
  1145. // BatchMsg information response | BatchMsg信息返回体
  1146. // swagger:model BatchMsgInfoResp
  1147. type BatchMsgInfoResp struct {
  1148. BaseDataInfo
  1149. // BatchMsg information | BatchMsg数据
  1150. Data BatchMsgInfo `json:"data"`
  1151. }