type.go 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. package hook
  2. type GetChatrooMmemberDetailReq struct {
  3. Gid string `json:"gid"`
  4. }
  5. type GetChatrooMmemberDetailReap struct {
  6. Member []ChatrooMmemberDetail `json:"member"`
  7. }
  8. type ChatrooMmemberDetail struct {
  9. Wxid string `json:"wxid"`
  10. Nickname string `json:"nickname"`
  11. UserHeadBig string `json:"user_head_big"`
  12. UserHeadSmall string `json:"user_head_small"`
  13. UserFlag string `json:"user_flag"`
  14. InviterWxid string `json:"inviter_wxid"`
  15. }
  16. type GetChatroomMemberDetailInfoReq struct {
  17. Gid string `json:"gid"`
  18. Wxid string `json:"wxid"`
  19. }
  20. type GetChatroomMemberDetailInfoReap struct {
  21. Type string `json:"type"`
  22. Wxid string `json:"wxid"`
  23. Nickname string `json:"nickname"`
  24. Sex string `json:"sex"`
  25. Source string `json:"source"`
  26. Province string `json:"province"`
  27. Area string `json:"area"`
  28. Signinfo string `json:"signinfo"`
  29. Wxaccount string `json:"wxaccount"`
  30. Md5 string `json:"Md5"`
  31. Timelinebgurl string `json:"timelinebgurl"`
  32. Country string `json:"country"`
  33. Headurl string `json:"headurl"`
  34. HeadImgMd5 string `json:"headImgMd5"`
  35. V3 string `json:"v3"`
  36. Fromchatroom string `json:"fromchatroom"`
  37. V4 string `json:"v4"`
  38. }
  39. type AddNewFriendReq struct {
  40. V3Wxid string `json:"v3_wxid"`
  41. V4 string `json:"v4"`
  42. Desc string `json:"desc"`
  43. AddType string `json:"type"`
  44. Role string `json:"role"`
  45. }
  46. type AddNewFriendReap struct {
  47. Status string `json:"Status"`
  48. RetTxt string `json:"RetTxt"`
  49. RetV3 string `json:"ret_v3"`
  50. }
  51. type BatchGetContactBriefInfoReq struct {
  52. WxidList string `json:"wxidlist"`
  53. }
  54. type BriefInfo struct {
  55. Wxid string `json:"wxid"`
  56. WXAccount string `json:"wx_account"`
  57. Status string `json:"status"`
  58. Nickname string `json:"nickname"`
  59. Markname string `json:"markname"`
  60. Country string `json:"country"`
  61. Province string `json:"province"`
  62. City string `json:"city"`
  63. Sex string `json:"sex"`
  64. Bighead string `json:"bighead"`
  65. Smallhead string `json:"smallhead"`
  66. Labeltag string `json:"labeltag"`
  67. }
  68. type BatchGetContactBriefInfoReap struct {
  69. Count string `json:"count"`
  70. Info []BriefInfo `json:"info"`
  71. }
  72. type GetBatchGetChatRoomMemberWxidReq struct {
  73. Gid string `json:"gid"`
  74. }
  75. type GetBatchGetChatRoomMemberWxidReap struct {
  76. Data []struct {
  77. Wxid string `json:"wxid"`
  78. } `json:"data"`
  79. }
  80. type GetContactLabelListReap struct {
  81. Label []struct {
  82. Id string `json:"id"`
  83. Name string `json:"name"`
  84. }
  85. }
  86. type GetFriendAndChatRoomListReq struct {
  87. Type string `json:"type"`
  88. }
  89. type GetFriendAndChatRoomListReap struct {
  90. CountFriend string `json:"count_friend"`
  91. Friend []struct {
  92. Index string `json:"index"`
  93. Wxid string `json:"wxid"`
  94. Account string `json:"account"`
  95. Nickname string `json:"nickname"`
  96. V3 string `json:"v3"`
  97. Markname string `json:"markname"`
  98. Starrole string `json:"starrole"`
  99. Dontseeit string `json:"dontseeit"`
  100. Dontseeme string `json:"dontseeme"`
  101. Headimg string `json:"headimg"`
  102. Sex string `json:"sex"`
  103. Lag string `json:"lag"`
  104. } `json:"friend"`
  105. CountChatroom string `json:"count_chatroom"`
  106. Chatroom []struct {
  107. Index string `json:"index"`
  108. Gid string `json:"gid"`
  109. Gname string `json:"gname"`
  110. Markname string `json:"markname"`
  111. V3 string `json:"v3"`
  112. } `json:"chatroom"`
  113. CountGh string `json:"count_gh"`
  114. Gh []struct {
  115. Index string `json:"index"`
  116. Wxid string `json:"wxid"`
  117. Account string `json:"account"`
  118. Nickname string `json:"nickname"`
  119. Markname string `json:"markname"`
  120. V3 string `json:"v3"`
  121. } `json:"gh"`
  122. }
  123. type ConfigureMsgReciveReq struct {
  124. IsEnable string `json:"isEnable"`
  125. URL string `json:"url"`
  126. }
  127. type SendTextMsgReq struct {
  128. Wxid string `json:"wxid"`
  129. Msg string `json:"msg"`
  130. }
  131. type SendPicMsgReq struct {
  132. Wxid string `json:"wxid"`
  133. Picpath string `json:"picpath"`
  134. Diyfilename string `json:"diyfilename"`
  135. }
  136. type SendPicMsgLocalReq struct {
  137. Wxid string `json:"wxid"`
  138. Picpath string `json:"picpath"`
  139. }
  140. type GetSelfLoginInfoResp struct {
  141. ProcessID string `json:"ProcessID"`
  142. Wxid string `json:"wxid"`
  143. Account string `json:"account"`
  144. Nickname string `json:"nickname"`
  145. Tel string `json:"tel"`
  146. Country string `json:"country"`
  147. Province string `json:"province"`
  148. City string `json:"city"`
  149. HeadBig string `json:"head_big"`
  150. DiySign string `json:"diy_sign"`
  151. }
  152. type LogoutResp struct {
  153. Code string `json:"code"`
  154. Msg string `json:"msg"`
  155. }
  156. type GetWeChatProcessNumberResp struct {
  157. TotalNum string `json:"total_num"`
  158. List []struct {
  159. Index int `json:"Index"`
  160. ProcessName string `json:"ProcessName"`
  161. PID int `json:"PID"`
  162. Par string `json:"Par"`
  163. Port int `json:"Port"`
  164. } `json:"List"`
  165. }
  166. type GetLoginQRCodeReap struct {
  167. Base64 string `json:"base64"`
  168. }
  169. type IsLoginStatusResp struct {
  170. Onlinestatus string `json:"onlinestatus"`
  171. Msg string `json:"msg"`
  172. LoginLoading string `json:"login_loading"`
  173. Selfwxid string `json:"selfwxid"`
  174. Nickname string `json:"nickname"`
  175. }
  176. type GetPortOccupiedInfoReq struct {
  177. CheckPort string `json:"CheckPort"`
  178. }
  179. type GetPortOccupiedInfoResp struct {
  180. Occupied string `json:"Occupied"`
  181. }
  182. type StartWechatReq struct {
  183. StartPort string `json:"StartPort"`
  184. }
  185. type TerminateThisWeChatReq struct {
  186. PID string `json:"PID"`
  187. }
  188. type StartWechatResp struct {
  189. StartPort string `json:"StartPort"`
  190. Success string `json:"success"`
  191. }
  192. type ClickLoginButtonResp struct {
  193. ClickLoginButton string `json:"ClickLoginButton"`
  194. }