type.go 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. package hook
  2. type BatchGetContactBriefInfoReq struct {
  3. WxidList string `json:"wxidlist"`
  4. }
  5. type BriefInfo struct {
  6. Wxid string `json:"wxid"`
  7. WXAccount string `json:"wx_account"`
  8. Status string `json:"status"`
  9. Nickname string `json:"nickname"`
  10. Markname string `json:"markname"`
  11. Country string `json:"country"`
  12. Province string `json:"province"`
  13. City string `json:"city"`
  14. Sex string `json:"sex"`
  15. Bighead string `json:"bighead"`
  16. Smallhead string `json:"smallhead"`
  17. Labeltag string `json:"labeltag"`
  18. }
  19. type BatchGetContactBriefInfoReap struct {
  20. Count string `json:"count"`
  21. Info []BriefInfo `json:"info"`
  22. }
  23. type GetBatchGetChatRoomMemberWxidReq struct {
  24. Gid string `json:"gid"`
  25. }
  26. type GetBatchGetChatRoomMemberWxidReap struct {
  27. Data []struct {
  28. Wxid string `json:"wxid"`
  29. } `json:"data"`
  30. }
  31. type GetFriendAndChatRoomListReq struct {
  32. Type string `json:"type"`
  33. }
  34. type GetFriendAndChatRoomListReap struct {
  35. CountFriend string `json:"count_friend"`
  36. Friend []struct {
  37. Index string `json:"index"`
  38. Wxid string `json:"wxid"`
  39. Account string `json:"account"`
  40. Nickname string `json:"nickname"`
  41. V3 string `json:"v3"`
  42. Markname string `json:"markname"`
  43. Starrole string `json:"starrole"`
  44. Dontseeit string `json:"dontseeit"`
  45. Dontseeme string `json:"dontseeme"`
  46. Headimg string `json:"headimg"`
  47. Sex string `json:"sex"`
  48. Lag string `json:"lag"`
  49. } `json:"friend"`
  50. CountChatroom string `json:"count_chatroom"`
  51. Chatroom []struct {
  52. Index string `json:"index"`
  53. Gid string `json:"gid"`
  54. Gname string `json:"gname"`
  55. Markname string `json:"markname"`
  56. V3 string `json:"v3"`
  57. } `json:"chatroom"`
  58. CountGh string `json:"count_gh"`
  59. Gh []struct {
  60. Index string `json:"index"`
  61. Wxid string `json:"wxid"`
  62. Account string `json:"account"`
  63. Nickname string `json:"nickname"`
  64. Markname string `json:"markname"`
  65. V3 string `json:"v3"`
  66. } `json:"gh"`
  67. }
  68. type ConfigureMsgReciveReq struct {
  69. IsEnable string `json:"isEnable"`
  70. URL string `json:"url"`
  71. }
  72. type SendTextMsgReq struct {
  73. Wxid string `json:"wxid"`
  74. Msg string `json:"msg"`
  75. }
  76. type SendPicMsgReq struct {
  77. Wxid string `json:"wxid"`
  78. Picpath string `json:"picpath"`
  79. Diyfilename string `json:"diyfilename"`
  80. }
  81. type SendPicMsgLocalReq struct {
  82. Wxid string `json:"wxid"`
  83. Picpath string `json:"picpath"`
  84. }
  85. type GetSelfLoginInfoResp struct {
  86. ProcessID string `json:"ProcessID"`
  87. Wxid string `json:"wxid"`
  88. Account string `json:"account"`
  89. Nickname string `json:"nickname"`
  90. Tel string `json:"tel"`
  91. Country string `json:"country"`
  92. Province string `json:"province"`
  93. City string `json:"city"`
  94. HeadBig string `json:"head_big"`
  95. DiySign string `json:"diy_sign"`
  96. }
  97. type LogoutResp struct {
  98. Code string `json:"code"`
  99. Msg string `json:"msg"`
  100. }
  101. type GetWeChatProcessNumberResp struct {
  102. TotalNum string `json:"total_num"`
  103. List []struct {
  104. Index int `json:"Index"`
  105. ProcessName string `json:"ProcessName"`
  106. PID int `json:"PID"`
  107. Par string `json:"Par"`
  108. Port int `json:"Port"`
  109. } `json:"List"`
  110. }
  111. type GetLoginQRCodeReap struct {
  112. Base64 string `json:"base64"`
  113. }
  114. type IsLoginStatusResp struct {
  115. Onlinestatus string `json:"onlinestatus"`
  116. Msg string `json:"msg"`
  117. LoginLoading string `json:"login_loading"`
  118. Selfwxid string `json:"selfwxid"`
  119. Nickname string `json:"nickname"`
  120. }
  121. type GetPortOccupiedInfoReq struct {
  122. CheckPort string `json:"CheckPort"`
  123. }
  124. type GetPortOccupiedInfoResp struct {
  125. Occupied string `json:"Occupied"`
  126. }
  127. type StartWechatReq struct {
  128. StartPort string `json:"StartPort"`
  129. }
  130. type StartWechatResp struct {
  131. StartPort string `json:"StartPort"`
  132. Success string `json:"success"`
  133. }
  134. type ClickLoginButtonResp struct {
  135. ClickLoginButton string `json:"ClickLoginButton"`
  136. }