package
2.2.1+incompatible
Repository: https://github.com/azure1489/wechat.git
Documentation: pkg.go.dev

# Functions

No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

参数名 必选 类型 说明 wxidlist 是 string 要检测的好友微信ID清单 delay 否 string 每个微信请求延迟.
{ "code": "0", "list": [ { "wxid": "qq180..", "status": "1" }, { "wxid": "wxid_kq..2", "status": "1" } ] } 参数名 类型 说明 status string 1=好友 2=被对方删除 3=被对方拉黑 4=主动拉黑了对方.
参数名 必选 类型 说明 towxid 是 string 接收方微信ID/群ID imgpath 是 string 封面图片路径 xml 是 string 可以自己根据内容构建,或者先转发一条视频号消息,打开dbgview看内容是什么然后复制进去.
{ "success": "1", }.
参数名 必选 类型 说明 toid 是 string 对方微信ID/群ID aeskey 是 string 来源于接收到的语音消息内容中 voiceurl 是 string 来源于接收到的语音消息内容中 voicelength 是 string 语音内容长度 length 是 string 语音显示长度。最长60秒.
{ "msgid": "2636943258839319581" }.
参数名 必选 类型 说明 msgsvrid 是 string 要转发的服务器消息ID,服务器消息ID可以从接收消息回调里拿到 wxid 是 string 对方微信ID/群ID.
{ "success": "1" }.
参数名 必选 类型 说明 towxid 是 string 接收方微信ID/群ID imgpath 是 string 封面图片路径 xml 是 string xml内容,只能是一行,不能有换行符.
{ "success": "1", }.
参数名 必选 类型 说明 gid 是 string 群ID msg 否 string 要发送的消息内容.
{ "success": "1", }.
参数名 必选 类型 说明 gid 是 string 群ID wxidlist 是 string @的对方微信ID清单,多个wxid用逗号隔开 msg 否 string 要发送的消息内容,可以不传该参数或留空.
{ "MsgSvrID": "6769153476747201109" }.
参数名 必选 类型 说明 gid 是 string 群ID nicknamelist 否 string 可空,@的对方微信昵称清单,多个自定义昵称用逗号隔开,数量必须和wxidlist一致 wxidlist 是 string @的对方微信ID清单,多个wxid用逗号隔开 msg 否 string 要发送的消息内容,可以不传该参数或留空.
{ "SendAtAllMsg": "1", }.
参数名 必选 类型 说明 towxid 是 string 转发给谁的微信ID/群ID fromwxid 是 string 转发谁的微信ID nickname 否 string 怎么称呼转发的名片人.
{ "success": "1", }.
type 是 string 类型 wxid 是 string 对方微信ID/群ID msg 是 string 要发送的位置消息内容(xml内容,不能有换行,注意中间的引号用\转译!).
{ "success": "1" }.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
参数名 必选 类型 说明 towxid 是 string 对方微信ID/群ID title 是 string 要发送的文本消息内容,可以传USC2 例:\uXXXX svrid 否 string 源消息 消息ID fromusr 否 string 源消息 群ID chatusr 是 string 源消息 发送者WXID content 是 string 源消息内容.
{ "SendQuoteMsg": "1" }.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

type 二级代码 必选 类型 说明 1 是 string 文本消息 3 是 string 图片消息 34 是 string 语音消息 37 是 string 好友确认消息 40 是 string POSSIBLEFRIEND_MSG 42 是 string 共享名片 43 是 string 视频消息 47 是 string 动画表情 48 是 string 位置消息 49 是 string 分享链接/文件 50 是 string VOIPMSG 51 是 string 微信初始化消息 52 是 string VOIPNOTIFY 53 是 string VOIPINVITE 62 是 string 小视频 9999 是 string SYSNOTICE 10000 是 string 系统消息 10002 是 string 撤回消息.