type.go 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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 GetFriendAndChatRoomListReq struct {
  81. Type string `json:"type"`
  82. }
  83. type GetFriendAndChatRoomListReap struct {
  84. CountFriend string `json:"count_friend"`
  85. Friend []struct {
  86. Index string `json:"index"`
  87. Wxid string `json:"wxid"`
  88. Account string `json:"account"`
  89. Nickname string `json:"nickname"`
  90. V3 string `json:"v3"`
  91. Markname string `json:"markname"`
  92. Starrole string `json:"starrole"`
  93. Dontseeit string `json:"dontseeit"`
  94. Dontseeme string `json:"dontseeme"`
  95. Headimg string `json:"headimg"`
  96. Sex string `json:"sex"`
  97. Lag string `json:"lag"`
  98. } `json:"friend"`
  99. CountChatroom string `json:"count_chatroom"`
  100. Chatroom []struct {
  101. Index string `json:"index"`
  102. Gid string `json:"gid"`
  103. Gname string `json:"gname"`
  104. Markname string `json:"markname"`
  105. V3 string `json:"v3"`
  106. } `json:"chatroom"`
  107. CountGh string `json:"count_gh"`
  108. Gh []struct {
  109. Index string `json:"index"`
  110. Wxid string `json:"wxid"`
  111. Account string `json:"account"`
  112. Nickname string `json:"nickname"`
  113. Markname string `json:"markname"`
  114. V3 string `json:"v3"`
  115. } `json:"gh"`
  116. }
  117. type ConfigureMsgReciveReq struct {
  118. IsEnable string `json:"isEnable"`
  119. URL string `json:"url"`
  120. }
  121. type SendTextMsgReq struct {
  122. Wxid string `json:"wxid"`
  123. Msg string `json:"msg"`
  124. }
  125. type SendPicMsgReq struct {
  126. Wxid string `json:"wxid"`
  127. Picpath string `json:"picpath"`
  128. Diyfilename string `json:"diyfilename"`
  129. }
  130. type SendPicMsgLocalReq struct {
  131. Wxid string `json:"wxid"`
  132. Picpath string `json:"picpath"`
  133. }
  134. type GetSelfLoginInfoResp struct {
  135. ProcessID string `json:"ProcessID"`
  136. Wxid string `json:"wxid"`
  137. Account string `json:"account"`
  138. Nickname string `json:"nickname"`
  139. Tel string `json:"tel"`
  140. Country string `json:"country"`
  141. Province string `json:"province"`
  142. City string `json:"city"`
  143. HeadBig string `json:"head_big"`
  144. DiySign string `json:"diy_sign"`
  145. }
  146. type LogoutResp struct {
  147. Code string `json:"code"`
  148. Msg string `json:"msg"`
  149. }
  150. type GetWeChatProcessNumberResp struct {
  151. TotalNum string `json:"total_num"`
  152. List []struct {
  153. Index int `json:"Index"`
  154. ProcessName string `json:"ProcessName"`
  155. PID int `json:"PID"`
  156. Par string `json:"Par"`
  157. Port int `json:"Port"`
  158. } `json:"List"`
  159. }
  160. type GetLoginQRCodeReap struct {
  161. Base64 string `json:"base64"`
  162. }
  163. type IsLoginStatusResp struct {
  164. Onlinestatus string `json:"onlinestatus"`
  165. Msg string `json:"msg"`
  166. LoginLoading string `json:"login_loading"`
  167. Selfwxid string `json:"selfwxid"`
  168. Nickname string `json:"nickname"`
  169. }
  170. type GetPortOccupiedInfoReq struct {
  171. CheckPort string `json:"CheckPort"`
  172. }
  173. type GetPortOccupiedInfoResp struct {
  174. Occupied string `json:"Occupied"`
  175. }
  176. type StartWechatReq struct {
  177. StartPort string `json:"StartPort"`
  178. }
  179. type StartWechatResp struct {
  180. StartPort string `json:"StartPort"`
  181. Success string `json:"success"`
  182. }
  183. type ClickLoginButtonResp struct {
  184. ClickLoginButton string `json:"ClickLoginButton"`
  185. }