// Package docs Code generated by swaggo/swag. DO NOT EDIT package docs import "github.com/swaggo/swag" const docTemplate = `{ "schemes": {{ marshal .Schemes }}, "swagger": "2.0", "info": { "description": "{{escape .Description}}", "title": "{{.Title}}", "contact": {}, "version": "{{.Version}}" }, "host": "{{.Host}}", "basePath": "{{.BasePath}}", "paths": { "/api/v1/cdn/download": { "post": { "description": "CDN下载接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "CDN" ], "summary": "CDN下载", "parameters": [ { "description": "下载数据", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.CDNDownloadRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.CDNDownloadResponseData" } } } ] } } } } }, "/api/v1/cdn/initial": { "post": { "description": "CDN初始化接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "CDN" ], "summary": "CDN初始化", "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.CDNInitialResponseData" } } } ] } } } } }, "/api/v1/cdn/send/card": { "post": { "description": "发送名片消息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "CDN发送消息" ], "summary": "发送名片消息", "parameters": [ { "description": "消息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.CDNSendCardMsgRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.CDNSendCardMsgResponseData" } } } ] } } } } }, "/api/v1/cdn/send/card_link": { "post": { "description": "发送卡片链接消息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "CDN发送消息" ], "summary": "发送卡片链接消息", "parameters": [ { "description": "消息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.CDNSendCardLinkMsgRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.CDNSendCardLinkMsgResponseData" } } } ] } } } } }, "/api/v1/cdn/send/file": { "post": { "description": "发送文件消息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "CDN发送消息" ], "summary": "发送文件消息", "parameters": [ { "description": "消息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.CDNSendFileMsgRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.CDNSendFileMsgResponseData" } } } ] } } } } }, "/api/v1/cdn/send/gif": { "post": { "description": "发送GIF消息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "CDN发送消息" ], "summary": "发送GIF消息", "parameters": [ { "description": "消息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.CDNSendGifMsgRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.CDNSendGifMsgResponseData" } } } ] } } } } }, "/api/v1/cdn/send/gif_new": { "post": { "description": "发送GIF消息(新)接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "CDN发送消息" ], "summary": "发送GIF消息(新)", "parameters": [ { "description": "消息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.CDNSendGifMsgNewRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.CDNSendGifMsgNewResponseData" } } } ] } } } } }, "/api/v1/cdn/send/image": { "post": { "description": "发送图片消息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "CDN发送消息" ], "summary": "发送图片消息", "parameters": [ { "description": "消息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.CDNSendImageMsgRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.CDNSendImageMsgResponseData" } } } ] } } } } }, "/api/v1/cdn/send/location": { "post": { "description": "发送位置消息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "CDN发送消息" ], "summary": "发送位置消息", "parameters": [ { "description": "消息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.CDNSendLocationMsgRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.CDNSendLocationMsgResponseData" } } } ] } } } } }, "/api/v1/cdn/send/mini_program": { "post": { "description": "发送小程序消息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "CDN发送消息" ], "summary": "发送小程序消息", "parameters": [ { "description": "消息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.CDNSendMiniProgramMsgRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.CDNSendMiniProgramMsgResponseData" } } } ] } } } } }, "/api/v1/cdn/send/revoke": { "post": { "description": "发送撤回消息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "CDN发送消息" ], "summary": "发送撤回消息", "parameters": [ { "description": "消息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.CDNSendRevokeMsgRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.CDNSendRevokeMsgResponseData" } } } ] } } } } }, "/api/v1/cdn/send/text": { "post": { "description": "发送文本消息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "CDN发送消息" ], "summary": "发送文本消息", "parameters": [ { "description": "消息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.CDNSendTextMsgRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.CDNSendTextMsgResponseData" } } } ] } } } } }, "/api/v1/cdn/send/video": { "post": { "description": "发送视频消息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "CDN发送消息" ], "summary": "发送视频消息", "parameters": [ { "description": "消息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.CDNSendVideoMsgRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.CDNSendVideoMsgResponseData" } } } ] } } } } }, "/api/v1/cdn/send/video_number": { "post": { "description": "发送视频号消息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "CDN发送消息" ], "summary": "发送视频号消息", "parameters": [ { "description": "消息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.CDNSendVideoMomentMsgRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.CDNSendVideoMomentMsgResponseData" } } } ] } } } } }, "/api/v1/cdn/send/xml": { "post": { "description": "发送xml消息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "CDN发送消息" ], "summary": "发送xml消息", "parameters": [ { "description": "消息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.CDNSendXmlMsgRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.CDNSendXmlMsgResponseData" } } } ] } } } } }, "/api/v1/cdn/upload": { "post": { "description": "CDN上传接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "CDN" ], "summary": "CDN上传", "parameters": [ { "description": "上传数据", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.CDNUploadRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.CDNUploadResponseData" } } } ] } } } } }, "/api/v1/cdn/workwx/download": { "post": { "description": "企业微信CDN下载接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "CDN" ], "summary": "企业微信CDN下载", "parameters": [ { "description": "下载数据", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.WorkWxCdnDownloadRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.WorkWxCdnDownloadResponseData" } } } ] } } } } }, "/api/v1/collect/list": { "get": { "description": "获取收藏列表接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "收藏" ], "summary": "获取收藏列表", "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.GetCollectListResponseData" } } } ] } } } } }, "/api/v1/collect/send": { "post": { "description": "发送收藏(旧)接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "收藏" ], "summary": "发送收藏(旧)", "parameters": [ { "description": "收藏信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.SendCollectRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/collect/send/msgid": { "post": { "description": "收藏指定消息(旧)接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "收藏" ], "summary": "收藏指定消息(旧)", "parameters": [ { "description": "消息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.SendCollectMsgByMsgIdRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/contact/accept/wc_pay/auto": { "post": { "description": "自动接收好友转账接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "联系人" ], "summary": "自动接收好友转账", "parameters": [ { "description": "自动接收好友转账", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.AutoAcceptWCPayRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/contact/friend/accept": { "post": { "description": "通过好友申请接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "联系人" ], "summary": "通过好友申请", "parameters": [ { "description": "通过好友申请信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.AcceptFriendRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/contact/friend/add": { "post": { "description": "通过群聊加好友-发送好友申请接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "联系人" ], "summary": "通过群聊加好友-发送好友申请", "parameters": [ { "description": "添加好友信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.AddFriendRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/contact/friend/add/auto": { "post": { "description": "自动同意好友申请接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "联系人" ], "summary": "自动同意好友申请", "parameters": [ { "description": "自动加好友", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.AutoAcceptAddFriendRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/contact/friend/add/search": { "post": { "description": "添加搜索微信用户为好友接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "联系人" ], "summary": "添加搜索微信用户为好友", "parameters": [ { "description": "添加搜索微信用户为好友信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.AddSearchWxUserRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/contact/friend/card/auto": { "post": { "description": "自动接收名片接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "联系人" ], "summary": "自动接收名片", "parameters": [ { "description": "自动接收名片", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.AutoAcceptCardRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/contact/friend/check/{wxid}": { "post": { "description": "检测好友状态(发送无痕清粉消息)接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "联系人" ], "summary": "检测好友状态(发送无痕清粉消息)", "parameters": [ { "type": "string", "description": "微信ID", "name": "wxid", "in": "path", "required": true } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/contact/friend/delete/{wxid}": { "post": { "description": "删除好友接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "联系人" ], "summary": "删除好友", "parameters": [ { "type": "string", "description": "微信ID", "name": "wxid", "in": "path", "required": true } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/contact/friend/list": { "get": { "description": "获取好友列表接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "联系人" ], "summary": "获取好友列表", "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "type": "array", "items": { "$ref": "#/definitions/core.GetFriendListResponseDateItem" } } } } ] } } } } }, "/api/v1/contact/friend/protocol/brief/{wxid}": { "get": { "description": "获取好友简要信息(协议)接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "联系人" ], "summary": "获取好友简要信息(协议)", "parameters": [ { "type": "string", "description": "微信ID", "name": "wxid", "in": "path", "required": true } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.GetFriendBriefInfoByProtocolResponseData" } } } ] } } } } }, "/api/v1/contact/friend/protocol/detail": { "post": { "description": "批量获取好友详细信息(协议)接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "联系人" ], "summary": "批量获取好友详细信息(协议)", "parameters": [ { "description": "微信ID列表", "name": "body", "in": "body", "required": true, "schema": { "type": "array", "items": { "type": "string" } } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "type": "array", "items": { "$ref": "#/definitions/core.GetFriendDetailInfoByProtocolResponseDataContactListItem" } } } } ] } } } } }, "/api/v1/contact/friend/protocol/detail/{wxid}": { "get": { "description": "获取微信好友详细信息(协议)接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "联系人" ], "summary": "获取微信好友详细信息(协议)", "parameters": [ { "type": "string", "description": "微信ID", "name": "wxid", "in": "path", "required": true } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "type": "array", "items": { "$ref": "#/definitions/core.GetFriendDetailInfoByProtocolResponseDataContactListItem" } } } } ] } } } } }, "/api/v1/contact/friend/remark": { "post": { "description": "编辑好友备注接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "联系人" ], "summary": "编辑好友备注", "parameters": [ { "description": "好友备注信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.EditFriendRemarkRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/contact/friend/search": { "get": { "description": "搜索微信用户接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "联系人" ], "summary": "搜索微信用户", "parameters": [ { "type": "string", "description": "搜索字符串", "name": "keyword", "in": "query", "required": true } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "type": "array", "items": { "$ref": "#/definitions/core.SearchWxUserResponseData" } } } } ] } } } } }, "/api/v1/contact/friend/{wxid}": { "get": { "description": "获取单个好友信息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "联系人" ], "summary": "获取单个好友信息", "parameters": [ { "type": "string", "description": "微信ID", "name": "wxid", "in": "path", "required": true } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.GetFriendListResponseDateItem" } } } ] } } } } }, "/api/v1/contact/public/list": { "get": { "description": "获取公众号列表接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "联系人" ], "summary": "获取公众号列表", "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "type": "array", "items": { "$ref": "#/definitions/core.GetPublicUserListResponseData" } } } } ] } } } } }, "/api/v1/contact/room/accept/auto": { "post": { "description": "自动接受群邀请接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "群管理" ], "summary": "自动接受群邀请", "parameters": [ { "description": "自动接受群邀请", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.AutoAcceptRoomRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/contact/room/create": { "post": { "description": "创建群聊接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "群管理" ], "summary": "创建群聊", "parameters": [ { "description": "微信ID列表", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.CreateRoomRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/contact/room/delete": { "post": { "description": "退出群聊接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "群管理" ], "summary": "退出群聊", "parameters": [ { "description": "推出的群聊", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.DelChatRoomRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/contact/room/friend/add": { "post": { "description": "添加群成员为好友接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "群管理" ], "summary": "添加群成员为好友", "parameters": [ { "description": "添加好友信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.AddFriendRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/contact/room/list": { "get": { "description": "获取群列表接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "群管理" ], "summary": "获取群列表", "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "type": "array", "items": { "$ref": "#/definitions/core.GetChatRoomListResponseDataItem" } } } } ] } } } } }, "/api/v1/contact/room/member/delete": { "post": { "description": "踢除群成员接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "群管理" ], "summary": "踢除群成员", "parameters": [ { "description": "成员信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.DelChatRoomMemberRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/contact/room/member/invite": { "post": { "description": "邀请好友进群接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "群管理" ], "summary": "邀请好友进群", "parameters": [ { "description": "邀请信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.InviteToRoomRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.InviteToRoomResponseData" } } } ] } } } } }, "/api/v1/contact/room/member/list/{roomWxid}": { "get": { "description": "获取群成员列表接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "群管理" ], "summary": "获取群成员列表", "parameters": [ { "type": "string", "description": "微信群ID", "name": "roomWxid", "in": "path", "required": true } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.GetChatRoomMemberListResponseData" } } } ] } } } } }, "/api/v1/contact/room/member/nickname/show": { "post": { "description": "是否显示群成员昵称接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "群管理" ], "summary": "是否显示群成员昵称", "parameters": [ { "description": "昵称信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.RoomShowNickNameRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/contact/room/mine/nickname/modify": { "post": { "description": "修改我在本群的昵称接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "群管理" ], "summary": "修改我在本群的昵称", "parameters": [ { "description": "昵称信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.EditRoomMineNickNameRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/contact/room/name/modify": { "post": { "description": "修改群聊名称接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "群管理" ], "summary": "修改群聊名称", "parameters": [ { "description": "成员信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.EditChatRoomMemberRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/contact/room/notice/modify": { "post": { "description": "修改群公告接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "群管理" ], "summary": "修改群公告", "parameters": [ { "description": "公告信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.EditChatRoomNoticeRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/contact/room/protocol/create": { "post": { "description": "创建群聊(协议)接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "群管理" ], "summary": "创建群聊(协议)", "parameters": [ { "description": "微信ID列表", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.CreateRoomRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.CreateChatRoomByProtocolResponseData" } } } ] } } } } }, "/api/v1/contact/room/protocol/detail/{roomWxid}": { "get": { "description": "获取微信群详细信息(协议)接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "群管理" ], "summary": "获取微信群详细信息(协议)", "parameters": [ { "type": "string", "description": "微信群ID", "name": "roomWxid", "in": "path", "required": true } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "type": "array", "items": { "$ref": "#/definitions/core.GetFriendDetailInfoByProtocolResponseDataContactListItem" } } } } ] } } } } }, "/api/v1/contact/room/protocol/invite/list/{roomWxid}": { "get": { "description": "获取群成员邀请关系(协议)接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "群管理" ], "summary": "获取群成员邀请关系(协议)", "parameters": [ { "type": "string", "description": "微信群ID", "name": "roomWxid", "in": "path", "required": true } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.GetRoomMemberInviteListResponseData" } } } ] } } } } }, "/api/v1/contact/room/to_contact/save": { "post": { "description": "保存到/移出通讯录接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "群管理" ], "summary": "保存到/移出通讯录", "parameters": [ { "description": "昵称信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.SaveRoomSaveToContactRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/live/enter": { "post": { "description": "进入直播间接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "直播" ], "summary": "进入直播间", "parameters": [ { "description": "直播间信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.LiveEnterRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/live/get/change/info": { "post": { "description": "获取直播间变动信息(人气,实时发言等))接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "直播" ], "summary": "获取直播间变动信息(人气,实时发言等))", "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "type": "object" } } } ] } } } } }, "/api/v1/live/get/online/user": { "post": { "description": "获取直播间在线用户接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "直播" ], "summary": "获取直播间在线用户", "parameters": [ { "description": "直播间信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.LiveGetOnlineUserRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "type": "object" } } } ] } } } } }, "/api/v1/live/get/shelf": { "post": { "description": "获取直播间货架接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "直播" ], "summary": "获取直播间货架", "parameters": [ { "description": "直播间信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.LiveGetShelfRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "type": "object" } } } ] } } } } }, "/api/v1/live/send/msg": { "post": { "description": "发送直播间消息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "直播" ], "summary": "发送直播间消息", "parameters": [ { "description": "直播间信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.LiveSendMsgRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/login/exit": { "post": { "description": "退出微信接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "登录" ], "summary": "退出微信", "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/login/logout": { "post": { "description": "注销微信登录接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "登录" ], "summary": "注销微信登录", "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/login/qrcode/refresh": { "post": { "description": "刷新登录二维码接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "登录" ], "summary": "刷新登录二维码", "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.RefreshLoginQrCodeResponseData" } } } ] } } } } }, "/api/v1/login/userinfo": { "get": { "description": "获取登录用户信息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "登录" ], "summary": "获取登录用户信息", "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.GetLoginUserInfoResponseData" } } } ] } } } } }, "/api/v1/login/version": { "get": { "description": "获取微信版本号接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "登录" ], "summary": "获取微信版本", "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/message/register_msg_http_callback": { "post": { "description": "注册消息回调接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "发送消息" ], "summary": "注册消息回调", "parameters": [ { "description": "回调", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.HttpCallBackRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/message/send/card": { "post": { "description": "发送名片消息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "发送消息" ], "summary": "发送名片消息", "parameters": [ { "description": "消息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.SendCardMsgRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/message/send/file": { "post": { "description": "发送文件消息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "发送消息" ], "summary": "发送文件消息", "parameters": [ { "description": "消息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.SendFileMsgRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/message/send/forward": { "post": { "description": "转发任意类型消息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "发送消息" ], "summary": "转发任意类型消息", "parameters": [ { "description": "消息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.ForwardMsgRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/message/send/git": { "post": { "description": "发送gif消息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "发送消息" ], "summary": "发送gif消息", "parameters": [ { "description": "消息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.SendGifMsgRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/message/send/image": { "post": { "description": "发送图片消息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "发送消息" ], "summary": "发送图片消息", "parameters": [ { "description": "消息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.SendImageMsgRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/message/send/link": { "post": { "description": "发送链接消息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "发送消息" ], "summary": "发送链接消息", "parameters": [ { "description": "消息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.SendLinkMsgRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/message/send/text": { "post": { "description": "发送文本消息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "发送消息" ], "summary": "发送文本消息", "parameters": [ { "description": "消息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.SendTextMsgRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/message/send/video": { "post": { "description": "发送视频文件消息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "发送消息" ], "summary": "发送视频文件消息", "parameters": [ { "description": "消息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.SendVideoMsgRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/message/send/xml": { "post": { "description": "发送XML消息接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "发送消息" ], "summary": "发送XML消息", "parameters": [ { "description": "消息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.SendXmlMsgRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/mini/program/code": { "post": { "description": "获取小程序授权Code接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "小程序" ], "summary": "获取小程序授权Code", "parameters": [ { "description": "小程序信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.GetMiniProgramCodeRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.GetMiniProgramCodeResponseData" } } } ] } } } } }, "/api/v1/moment/comment": { "post": { "description": "评论朋友圈接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "朋友圈" ], "summary": "评论朋友圈", "parameters": [ { "description": "评论信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.CommentMomentRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.CommentMomentResponseData" } } } ] } } } } }, "/api/v1/moment/friend/list": { "post": { "description": "获取好友朋友圈接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "朋友圈" ], "summary": "获取好友朋友圈", "parameters": [ { "description": "好友朋友圈信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.GetFriendMomentRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.GetFriendMomentResponseData" } } } ] } } } } }, "/api/v1/moment/like": { "post": { "description": "点赞朋友圈接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "朋友圈" ], "summary": "点赞朋友圈", "parameters": [ { "description": "点赞信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.LikeMomentRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.LikeMomentResponseData" } } } ] } } } } }, "/api/v1/moment/list": { "post": { "description": "获取朋友圈接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "朋友圈" ], "summary": "获取朋友圈", "parameters": [ { "description": "朋友圈信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.GetMomentRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": {} } } ] } } } } }, "/api/v1/moment/send": { "post": { "description": "发送朋友圈接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "朋友圈" ], "summary": "发送朋友圈", "parameters": [ { "description": "发送信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.SendMomentRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.SendMomentResponseData" } } } ] } } } } }, "/api/v1/moment/upload/image": { "post": { "description": "上传朋友圈图片接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "朋友圈" ], "summary": "上传朋友圈图片", "parameters": [ { "description": "上传图片信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.UploadMomentImageRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.UploadMomentImageResponseData" } } } ] } } } } }, "/api/v1/other/decrypt_img": { "post": { "description": "解密图片接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "其他" ], "summary": "解密图片", "parameters": [ { "description": "解密图片请求", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.DecryptImgRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/other/get_a8_key": { "post": { "description": "获取A8Key接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "其他" ], "summary": "获取A8Key", "parameters": [ { "description": "A8Key请求", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.GetA8KeyRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.GetA8KeyResponseData" } } } ] } } } } }, "/api/v1/tag/add": { "post": { "description": "添加标签接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "标签" ], "summary": "添加标签", "parameters": [ { "description": "标签信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.AddTagRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.AddTagResponseData" } } } ] } } } } }, "/api/v1/tag/add/user": { "post": { "description": "为用户添加标签接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "标签" ], "summary": "为用户添加标签", "parameters": [ { "description": "标签信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.AddTagToUserRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.AddTagToUserResponseData" } } } ] } } } } }, "/api/v1/tag/delete": { "post": { "description": "删除标签接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "标签" ], "summary": "删除标签", "parameters": [ { "description": "标签信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.DeleteTagRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.DeleteTagResponseData" } } } ] } } } } }, "/api/v1/tag/list": { "get": { "description": "获取标签列表接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "标签" ], "summary": "获取标签列表", "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "type": "array", "items": { "$ref": "#/definitions/core.GetTagListResponseDataItem" } } } } ] } } } } }, "/api/v1/tag/list/user": { "post": { "description": "获取用户标签列表接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "标签" ], "summary": "获取用户标签列表", "parameters": [ { "description": "标签信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.GetTagListByWxidRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.GetTagListByWxidResponseData" } } } ] } } } } }, "/api/v1/tag/modify": { "post": { "description": "修改标签接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "标签" ], "summary": "修改标签", "parameters": [ { "description": "标签信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.ModifyTagRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/ui/chat/msg/not/notify": { "post": { "description": "消息免打扰接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "界面" ], "summary": "消息免打扰", "parameters": [ { "description": "消息免打扰", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.ChatMsgNotNotifyRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/ui/chat/session/top": { "post": { "description": "置顶会话接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "界面" ], "summary": "置顶会话", "parameters": [ { "description": "会话", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.ChatSessionTopRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/ui/clear/chat/record": { "post": { "description": "清空聊天记录接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "界面" ], "summary": "清空聊天记录", "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/ui/switch/session": { "post": { "description": "切换会话接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "界面" ], "summary": "切换会话", "parameters": [ { "description": "会话", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.SwitchSessionRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/video_moment/create/virtual_nickname": { "post": { "description": "创建虚拟昵称接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频号" ], "summary": "创建虚拟昵称", "parameters": [ { "description": "昵称信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.VideoMomentCreateVirtualNickNameRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "type": "object" } } } ] } } } } }, "/api/v1/video_moment/delete/virtual_nickname": { "post": { "description": "删除虚拟昵称接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频号" ], "summary": "删除虚拟昵称", "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "$ref": "#/definitions/api.CommonStringResponse" } } } } }, "/api/v1/video_moment/follow": { "post": { "description": "关注视频号接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频号" ], "summary": "关注视频号", "parameters": [ { "description": "关注信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.VideoMomentFollowRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.VideoMomentFollowResponseData" } } } ] } } } } }, "/api/v1/video_moment/get/session_id": { "post": { "description": "获取私信sessionId接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频号" ], "summary": "获取私信sessionId", "parameters": [ { "description": "sessionId信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.VideoMomentGetSessionIdRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.VideoMomentGetSessionIdResponseData" } } } ] } } } } }, "/api/v1/video_moment/init": { "post": { "description": "视频号初始化接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频号" ], "summary": "视频号初始化", "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.VideoMomentInitResponseData" } } } ] } } } } }, "/api/v1/video_moment/like": { "post": { "description": "点赞视频接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频号" ], "summary": "点赞视频", "parameters": [ { "description": "点赞信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.VideoMomentLikeRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.VideoMomentLikeResponseData" } } } ] } } } } }, "/api/v1/video_moment/search": { "post": { "description": "搜索视频号接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频号" ], "summary": "搜索视频号", "parameters": [ { "description": "搜索信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.VideoMomentSearchRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "type": "object" } } } ] } } } } }, "/api/v1/video_moment/send/msg": { "post": { "description": "发送私信接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频号" ], "summary": "发送私信", "parameters": [ { "description": "发送信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.VideoMomentSendMsgRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.VideoMomentSendMsgResponseData" } } } ] } } } } }, "/api/v1/video_moment/switch/virtual_nickname": { "post": { "description": "切换虚拟昵称接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频号" ], "summary": "切换虚拟昵称", "parameters": [ { "description": "昵称信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.VideoMomentSwitchVirtualNickNameRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "type": "object" } } } ] } } } } }, "/api/v1/video_moment/user/home": { "post": { "description": "视频号用户主页接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频号" ], "summary": "视频号用户主页", "parameters": [ { "description": "用户信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.VideoMomentUserHomeRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "type": "object" } } } ] } } } } }, "/api/v1/video_moment/video/detail": { "post": { "description": "查看视频详细信息(包含评论)接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "视频号" ], "summary": "查看视频详细信息(包含评论)", "parameters": [ { "description": "视频信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.VideoMomentVideoDetailRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "type": "object" } } } ] } } } } }, "/api/v1/voice/to/text": { "post": { "description": "语音转文字接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "语音转文字" ], "summary": "语音转文字", "parameters": [ { "description": "语音信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.VoiceToTextRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.VoiceToTextResponseData" } } } ] } } } } }, "/api/v1/workwx/room/list": { "get": { "description": "获取企业微信群列表接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "企业微信" ], "summary": "获取企业微信群列表", "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "type": "array", "items": { "$ref": "#/definitions/core.GetWorkWxRoomListResponseDataItem" } } } } ] } } } } }, "/api/v1/workwx/room/member/list": { "post": { "description": "获取企业微信群成员列表接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "企业微信" ], "summary": "获取企业微信群成员列表", "parameters": [ { "description": "群信息", "name": "body", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.GetWorkWxChatRoomMemberRequest" } } ], "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "$ref": "#/definitions/core.GetWorkWxChatRoomMemberResponseData" } } } ] } } } } }, "/api/v1/workwx/user/list": { "get": { "description": "获取企业微信用户列表接口", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "企业微信" ], "summary": "获取企业微信用户列表", "responses": { "200": { "description": "{\\\"code\\\":0, ....}", "schema": { "allOf": [ { "$ref": "#/definitions/api.CommonStringResponse" }, { "type": "object", "properties": { "Data": { "type": "array", "items": { "$ref": "#/definitions/core.GetWorkWxUserListResponseDataItem" } } } } ] } } } } } }, "definitions": { "api.CommonStringResponse": { "type": "object", "properties": { "code": { "type": "integer" }, "data": { "type": "string" }, "msg": { "type": "string" } } }, "core.AcceptFriendRequest": { "type": "object", "properties": { "encryptusername": { "type": "string" }, "scene": { "type": "integer" }, "ticket": { "type": "string" } } }, "core.AddFriendRequest": { "type": "object", "properties": { "remark": { "type": "string" }, "room_wxid": { "type": "string" }, "source_type": { "type": "integer" }, "wxid": { "type": "string" } } }, "core.AddSearchWxUserRequest": { "type": "object", "properties": { "remark": { "type": "string" }, "v1": { "type": "string" }, "v2": { "type": "string" } } }, "core.AddTagRequest": { "type": "object", "properties": { "label_name": { "type": "string" } } }, "core.AddTagResponseData": { "type": "object", "properties": { "label_id": { "type": "integer" }, "label_name": { "type": "string" } } }, "core.AddTagToUserRequest": { "type": "object", "properties": { "labelid_list": { "type": "string" }, "wxid": { "type": "string" } } }, "core.AddTagToUserResponseData": { "type": "object", "properties": { "baseResponse": { "type": "object", "properties": { "errMsg": { "type": "object", "properties": { "string": { "type": "string" } } }, "ret": { "type": "integer" } } } } }, "core.AutoAcceptAddFriendRequest": { "type": "object", "properties": { "auto": { "description": "1自动同意 0取消自动同意", "type": "integer" } } }, "core.AutoAcceptCardRequest": { "type": "object", "properties": { "auto": { "description": "1自动接收 0取消自动接收", "type": "integer" } } }, "core.AutoAcceptRoomRequest": { "type": "object", "properties": { "auto": { "description": "0不自动 1自动", "type": "integer" } } }, "core.AutoAcceptWCPayRequest": { "type": "object", "properties": { "auto": { "description": "1自动接收 0取消自动接收", "type": "integer" } } }, "core.CDNDownloadRequest": { "type": "object", "properties": { "aes_key": { "type": "string" }, "file_id": { "type": "string" }, "file_type": { "type": "integer" }, "save_path": { "type": "string" } } }, "core.CDNDownloadResponseData": { "type": "object", "properties": { "error_code": { "type": "integer" }, "file_id": { "type": "string" }, "file_size": { "type": "integer" }, "save_path": { "type": "string" } } }, "core.CDNInitialResponseData": { "type": "object", "properties": { "status": { "type": "integer" } } }, "core.CDNSendCardLinkMsgRequest": { "type": "object", "properties": { "desc": { "type": "string" }, "image_url": { "type": "string" }, "title": { "type": "string" }, "to_wxid": { "type": "string" }, "url": { "type": "string" } } }, "core.CDNSendCardLinkMsgResponseData": { "type": "object", "properties": { "actionFlag": { "type": "integer" }, "aeskey": { "type": "string" }, "appId": { "type": "string" }, "baseResponse": { "type": "object", "properties": { "errMsg": { "type": "object" }, "ret": { "type": "integer" } } }, "clientMsgId": { "type": "string" }, "createTime": { "type": "integer" }, "fromUserName": { "type": "string" }, "msgId": { "type": "integer" }, "msgSource": { "type": "string" }, "newMsgId": { "type": "string" }, "toUserName": { "type": "string" }, "type": { "type": "integer" } } }, "core.CDNSendCardMsgRequest": { "type": "object", "properties": { "avatar": { "type": "string" }, "nickname": { "type": "string" }, "to_wxid": { "type": "string" }, "username": { "type": "string" } } }, "core.CDNSendCardMsgResponseData": { "type": "object", "properties": { "baseResponse": { "type": "object", "properties": { "ret": { "type": "integer" } } }, "count": { "type": "integer" }, "msgResponseList": { "type": "array", "items": { "type": "object", "properties": { "clientMsgId": { "type": "integer" }, "createTime": { "type": "integer" }, "msgId": { "type": "integer" }, "newMsgId": { "type": "string" }, "ret": { "type": "integer" }, "serverTime": { "type": "integer" }, "toUserName": { "type": "object", "properties": { "string": { "type": "string" } } }, "type": { "type": "integer" } } } } } }, "core.CDNSendFileMsgRequest": { "type": "object", "properties": { "aes_key": { "type": "string" }, "file_id": { "type": "string" }, "file_md5": { "type": "string" }, "file_name": { "type": "string" }, "file_size": { "type": "integer" }, "to_wxid": { "type": "string" } } }, "core.CDNSendFileMsgResponseData": { "type": "object", "properties": { "actionFlag": { "type": "integer" }, "aeskey": { "type": "string" }, "appId": { "type": "string" }, "baseResponse": { "type": "object", "properties": { "ret": { "type": "integer" } } }, "clientMsgId": { "type": "string" }, "createTime": { "type": "integer" }, "fromUserName": { "type": "string" }, "msgId": { "type": "integer" }, "msgSource": { "type": "string" }, "newMsgId": { "type": "string" }, "toUserName": { "type": "string" }, "type": { "type": "integer" } } }, "core.CDNSendGifMsgNewRequest": { "type": "object", "properties": { "path": { "type": "string" }, "to_wxid": { "type": "string" } } }, "core.CDNSendGifMsgNewResponseData": { "type": "object", "properties": { "md5": { "type": "string" }, "size": { "type": "integer" }, "to_wxid": { "type": "string" } } }, "core.CDNSendGifMsgRequest": { "type": "object", "properties": { "aes_key": { "type": "string" }, "file_id": { "type": "string" }, "file_md5": { "type": "string" }, "file_size": { "type": "integer" }, "to_wxid": { "type": "string" } } }, "core.CDNSendGifMsgResponseData": { "type": "object", "properties": { "actionFlag": { "type": "integer" }, "aeskey": { "type": "string" }, "appId": { "type": "string" }, "baseResponse": { "type": "object", "properties": { "ret": { "type": "integer" } } }, "clientMsgId": { "type": "string" }, "createTime": { "type": "integer" }, "fromUserName": { "type": "string" }, "msgId": { "type": "integer" }, "msgSource": { "type": "string" }, "newMsgId": { "type": "string" }, "toUserName": { "type": "string" }, "type": { "type": "integer" } } }, "core.CDNSendImageMsgRequest": { "type": "object", "properties": { "aes_key": { "type": "string" }, "crc32": { "type": "integer" }, "file_id": { "type": "string" }, "file_md5": { "type": "string" }, "file_size": { "type": "integer" }, "thumb_file_size": { "type": "integer" }, "to_wxid": { "type": "string" } } }, "core.CDNSendImageMsgResponseData": { "type": "object", "properties": { "aes_key": { "type": "string" }, "crc32": { "type": "integer" }, "file_id": { "type": "string" }, "file_md5": { "type": "string" }, "file_size": { "type": "integer" }, "thumb_file_size": { "type": "integer" }, "to_wxid": { "type": "string" } } }, "core.CDNSendLocationMsgRequest": { "type": "object", "properties": { "address": { "type": "string" }, "latitude": { "type": "number" }, "longitude": { "type": "number" }, "title": { "type": "string" }, "to_wxid": { "type": "string" } } }, "core.CDNSendLocationMsgResponseData": { "type": "object", "properties": { "baseResponse": { "type": "object", "properties": { "ret": { "type": "integer" } } }, "count": { "type": "integer" }, "msgResponseList": { "type": "array", "items": { "type": "object", "properties": { "clientMsgId": { "type": "integer" }, "createTime": { "type": "integer" }, "msgId": { "type": "integer" }, "newMsgId": { "type": "string" }, "ret": { "type": "integer" }, "serverTime": { "type": "integer" }, "toUserName": { "type": "object", "properties": { "string": { "type": "string" } } }, "type": { "type": "integer" } } } } } }, "core.CDNSendMiniProgramMsgRequest": { "type": "object", "properties": { "aes_key": { "type": "string" }, "appicon": { "type": "string" }, "appid": { "type": "string" }, "appname": { "type": "string" }, "file_id": { "type": "string" }, "file_md5": { "type": "string" }, "file_size": { "type": "integer" }, "page_path": { "type": "string" }, "title": { "type": "string" }, "to_wxid": { "type": "string" }, "username": { "type": "string" } } }, "core.CDNSendMiniProgramMsgResponseData": { "type": "object", "properties": { "actionFlag": { "type": "integer" }, "aeskey": { "type": "string" }, "appId": { "type": "string" }, "baseResponse": { "type": "object", "properties": { "ret": { "type": "integer" } } }, "clientMsgId": { "type": "string" }, "createTime": { "type": "integer" }, "fromUserName": { "type": "string" }, "msgId": { "type": "integer" }, "msgSource": { "type": "string" }, "newMsgId": { "type": "string" }, "toUserName": { "type": "string" }, "type": { "type": "integer" } } }, "core.CDNSendRevokeMsgRequest": { "type": "object", "properties": { "client_msgid": {}, "create_time": { "type": "integer" }, "new_msgid": { "type": "string" }, "to_wxid": { "type": "string" } } }, "core.CDNSendRevokeMsgResponseData": { "type": "object", "properties": { "baseResponse": { "type": "object", "properties": { "ret": { "type": "integer" } } }, "introduction": { "type": "string" }, "sysWording": { "type": "string" } } }, "core.CDNSendTextMsgRequest": { "type": "object", "properties": { "at_all": { "description": "群消息时候,1是at所有人", "type": "integer" }, "at_list": { "description": "群消息时候使用", "type": "array", "items": { "type": "string" } }, "content": { "type": "string" }, "to_wxid": { "type": "string" } } }, "core.CDNSendTextMsgResponseData": { "type": "object", "properties": { "baseResponse": { "type": "object", "properties": { "ret": { "type": "integer" } } }, "count": { "type": "integer" }, "msgResponseList": { "type": "array", "items": { "type": "object", "properties": { "clientMsgId": { "type": "integer" }, "createTime": { "type": "integer" }, "msgId": { "type": "integer" }, "newMsgId": { "type": "string" }, "ret": { "type": "integer" }, "serverTime": { "type": "integer" }, "toUserName": { "type": "object", "properties": { "string": { "type": "string" } } }, "type": { "type": "integer" } } } } } }, "core.CDNSendVideoMomentMsgRequest": { "type": "object", "properties": { "avatar": { "type": "string" }, "desc": { "type": "string" }, "nickname": { "type": "string" }, "object_id": { "type": "string" }, "object_nonce_id": { "type": "string" }, "thumb_url": { "type": "string" }, "to_wxid": { "type": "string" }, "url": { "type": "string" }, "username": { "type": "string" } } }, "core.CDNSendVideoMomentMsgResponseData": { "type": "object", "properties": { "actionFlag": { "type": "integer" }, "aeskey": { "type": "string" }, "appId": { "type": "string" }, "baseResponse": { "type": "object", "properties": { "ret": { "type": "integer" } } }, "clientMsgId": { "type": "string" }, "createTime": { "type": "integer" }, "fromUserName": { "type": "string" }, "msgId": { "type": "integer" }, "msgSource": { "type": "string" }, "newMsgId": { "type": "string" }, "toUserName": { "type": "string" }, "type": { "type": "integer" } } }, "core.CDNSendVideoMsgRequest": { "type": "object", "properties": { "aes_key": { "type": "string" }, "file_id": { "type": "string" }, "file_md5": { "type": "string" }, "file_size": { "type": "integer" }, "thumb_file_size": { "type": "integer" }, "to_wxid": { "type": "string" } } }, "core.CDNSendVideoMsgResponseData": { "type": "object", "properties": { "actionFlag": { "type": "integer" }, "aeskey": { "type": "string" }, "baseResponse": { "type": "object", "properties": { "ret": { "type": "integer" } } }, "clientMsgId": { "type": "string" }, "msgId": { "type": "integer" }, "msgSource": { "type": "string" }, "newMsgId": { "type": "string" }, "rawAeskey": { "type": "string" }, "rawVideoNeedReupload": { "type": "boolean" }, "thumbStartPos": { "type": "integer" }, "videoNeedReupload": { "type": "boolean" }, "videoStartPos": { "type": "integer" } } }, "core.CDNSendXmlMsgRequest": { "type": "object", "properties": { "content": { "description": "\"\u003cappmsg appid=\\\"wx6618f1cfc6c132f8\\\" sdkver=\\\"0\\\"\u003e\u003ctitle\u003e1658934822522.gif\u003c... ...\u003c/weappinfo\u003e\u003cwebsearch /\u003e\u003c/appmsg\u003e\",", "type": "string" }, "to_wxid": { "type": "string" } } }, "core.CDNSendXmlMsgResponseData": { "type": "object", "properties": { "actionFlag": { "type": "integer" }, "aeskey": { "type": "string" }, "appId": { "type": "string" }, "baseResponse": { "type": "object", "properties": { "ret": { "type": "integer" } } }, "clientMsgId": { "type": "string" }, "createTime": { "type": "integer" }, "fromUserName": { "type": "string" }, "msgId": { "type": "integer" }, "msgSource": { "type": "string" }, "newMsgId": { "type": "string" }, "toUserName": { "type": "string" }, "type": { "type": "integer" } } }, "core.CDNUploadRequest": { "type": "object", "properties": { "file_path": { "type": "string" }, "file_type": { "type": "integer" } } }, "core.CDNUploadResponseData": { "type": "object", "properties": { "aes_key": { "type": "string" }, "crc32": { "type": "integer" }, "error_code": { "type": "integer" }, "file_id": { "type": "string" }, "file_key": { "type": "string" }, "file_md5": { "type": "string" }, "file_path": { "type": "string" }, "file_size": { "type": "integer" }, "thumb_file_md5": { "type": "string" }, "thumb_file_size": { "type": "integer" } } }, "core.ChatMsgNotNotifyRequest": { "type": "object", "properties": { "status": { "description": "1开启 0关闭", "type": "integer" }, "wxid": { "type": "string" } } }, "core.ChatSessionTopRequest": { "type": "object", "properties": { "status": { "type": "integer" }, "wxid": { "type": "string" } } }, "core.CommentMomentRequest": { "type": "object", "properties": { "content": { "type": "string" }, "object_id": { "type": "string" } } }, "core.CommentMomentResponseData": { "type": "object", "properties": { "baseResponse": { "type": "object", "properties": { "errMsg": { "type": "object" }, "ret": { "type": "integer" } } }, "snsObject": { "type": "object", "properties": { "blackList": { "type": "array", "items": {} }, "blackListCount": { "type": "integer" }, "commentCount": { "type": "integer" }, "commentUserList": { "type": "array", "items": { "type": "object", "properties": { "commentFlag": { "type": "integer" }, "commentId": { "type": "integer" }, "commentId2": { "type": "string" }, "content": { "type": "string" }, "createTime": { "type": "integer" }, "deleteFlag": { "type": "integer" }, "isNotRichText": { "type": "integer" }, "nickname": { "type": "string" }, "replyCommentId": { "type": "integer" }, "replyCommentId2": { "type": "string" }, "replyUsername": { "type": "string" }, "source": { "type": "integer" }, "type": { "type": "integer" }, "username": { "type": "string" } } } }, "commentUserListCount": { "type": "integer" }, "createTime": { "type": "integer" }, "deleteFlag": { "type": "integer" }, "extFlag": { "type": "integer" }, "groupCount": { "type": "integer" }, "groupList": { "type": "array", "items": {} }, "groupUser": { "type": "array", "items": {} }, "groupUserCount": { "type": "integer" }, "id": { "type": "string" }, "isNotRichText": { "type": "integer" }, "likeCount": { "type": "integer" }, "likeFlag": { "type": "integer" }, "likeUserList": { "type": "array", "items": { "type": "object", "properties": { "commentFlag": { "type": "integer" }, "commentId": { "type": "integer" }, "commentId2": { "type": "string" }, "content": { "type": "string" }, "createTime": { "type": "integer" }, "deleteFlag": { "type": "integer" }, "isNotRichText": { "type": "integer" }, "nickname": { "type": "string" }, "replyCommentId": { "type": "integer" }, "replyCommentId2": { "type": "string" }, "replyUsername": { "type": "string" }, "source": { "type": "integer" }, "type": { "type": "integer" }, "username": { "type": "string" } } } }, "likeUserListCount": { "type": "integer" }, "nickname": { "type": "string" }, "noChange": { "type": "integer" }, "objectDesc": { "type": "object", "properties": { "buffer": { "type": "string" }, "iLen": { "type": "integer" } } }, "objectOperations": { "type": "object", "properties": { "buffer": { "type": "string" }, "iLen": { "type": "integer" } } }, "preDownloadInfo": { "type": "object", "properties": { "noPreDownloadRange": { "type": "string" }, "preDownloadNetType": { "type": "integer" }, "preDownloadPercent": { "type": "integer" } } }, "referId": { "type": "string" }, "referUsername": { "type": "string" }, "snsRedEnvelops": { "type": "object", "properties": { "reportId": { "type": "integer" }, "reportKey": { "type": "integer" }, "resourceId": { "type": "integer" }, "rewardCount": { "type": "integer" }, "rewardUserList": { "type": "array", "items": {} } } }, "username": { "type": "string" }, "weAppInfo": { "type": "object", "properties": { "appId": { "type": "integer" }, "mapPoiId": { "type": "string" }, "redirectUrl": { "type": "string" }, "score": { "type": "integer" }, "showType": { "type": "integer" }, "userName": { "type": "string" } } }, "withUserCount": { "type": "integer" }, "withUserList": { "type": "array", "items": {} }, "withUserListCount": { "type": "integer" } } } } }, "core.CreateChatRoomByProtocolResponseData": { "type": "object", "properties": { "baseResponse": { "type": "object", "properties": { "errMsg": { "type": "object", "properties": { "string": { "type": "string" } } }, "ret": { "type": "integer" } } }, "bigHeadImgUrl": { "type": "string" }, "chatRoomName": { "type": "object", "properties": { "string": { "type": "string" } } }, "imgBuf": { "type": "object", "properties": { "buffer": { "type": "string" }, "iLen": { "type": "integer" } } }, "memberCount": { "type": "integer" }, "memberList": { "type": "array", "items": { "type": "object", "properties": { "city": { "type": "string" }, "contactType": { "type": "integer" }, "country": { "type": "string" }, "memberName": { "type": "object", "properties": { "string": { "type": "string" } } }, "memberStatus": { "type": "integer" }, "nickName": { "type": "object", "properties": { "string": { "type": "string" } } }, "personalCard": { "type": "integer" }, "province": { "type": "string" }, "pyInitial": { "type": "object", "properties": { "string": { "type": "string" } } }, "quanPin": { "type": "object", "properties": { "string": { "type": "string" } } }, "remark": { "type": "object" }, "remarkPYInitial": { "type": "object" }, "remarkQuanPin": { "type": "object" }, "sex": { "type": "integer" }, "signature": { "type": "string" }, "verifyFlag": { "type": "integer" }, "verifyInfo": { "type": "string" } } } }, "pyInitial": { "type": "object" }, "quanPin": { "type": "object" }, "smallHeadImgUrl": { "type": "string" }, "topic": { "type": "object" } } }, "core.CreateRoomRequest": { "type": "object", "properties": { "wxids": { "type": "array", "items": { "type": "string" } } } }, "core.DecryptImgRequest": { "type": "object", "properties": { "dest_file": { "type": "string" }, "src_file": { "type": "string" } } }, "core.DelChatRoomMemberRequest": { "type": "object", "properties": { "member_list": { "type": "array", "items": { "type": "string" } }, "room_wxid": { "type": "string" } } }, "core.DelChatRoomRequest": { "type": "object", "properties": { "room_wxid": { "type": "string" } } }, "core.DeleteTagRequest": { "type": "object", "properties": { "label_id": { "type": "integer" } } }, "core.DeleteTagResponseData": { "type": "object", "properties": { "baseResponse": { "type": "object", "properties": { "errMsg": { "type": "object" }, "ret": { "type": "integer" } } } } }, "core.EditChatRoomMemberRequest": { "type": "object", "properties": { "name": { "type": "string" }, "room_wxid": { "type": "string" } } }, "core.EditChatRoomNoticeRequest": { "type": "object", "properties": { "notice": { "type": "string" }, "room_wxid": { "type": "string" } } }, "core.EditFriendRemarkRequest": { "type": "object", "properties": { "remark": { "type": "string" }, "wxid": { "type": "string" } } }, "core.EditRoomMineNickNameRequest": { "type": "object", "properties": { "nickname": { "type": "string" }, "room_wxid": { "type": "string" } } }, "core.ForwardMsgRequest": { "type": "object", "properties": { "msgid": { "type": "string" }, "to_wxid": { "type": "string" } } }, "core.GetA8KeyRequest": { "type": "object", "properties": { "scene": { "type": "integer" }, "url": { "type": "string" } } }, "core.GetA8KeyResponseData": { "type": "object", "properties": { "a8Key": { "type": "string" }, "actionCode": { "type": "integer" }, "antispamTicket": { "type": "string" }, "baseResponse": { "type": "object", "properties": { "errMsg": { "type": "object" }, "ret": { "type": "integer" } } }, "content": { "type": "string" }, "cookie": { "type": "object", "properties": { "buffer": { "type": "string" }, "iLen": { "type": "integer" } } }, "deepLinkBitSet": { "type": "object", "properties": { "bitValue": { "type": "string" } } }, "fullUrl": { "type": "string" }, "generalControlBitSet": { "type": "object", "properties": { "bitValue": { "type": "integer" } } }, "headImg": { "type": "string" }, "httpHeaderCount": { "type": "integer" }, "httpHeaderList": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": "string" } } } }, "jsapicontrolBytes": { "type": "object", "properties": { "buffer": { "type": "string" }, "iLen": { "type": "integer" } } }, "jsapipermission": { "type": "object", "properties": { "bitValue": { "type": "integer" }, "bitValue2": { "type": "integer" }, "bitValue3": { "type": "integer" }, "bitValue4": { "type": "integer" } } }, "menuWording": { "type": "string" }, "mid": { "type": "string" }, "scopeCount": { "type": "integer" }, "scopeList": { "type": "array", "items": {} }, "shareUrl": { "type": "string" }, "ssid": { "type": "string" }, "title": { "type": "string" }, "userName": { "type": "string" }, "wording": { "type": "string" } } }, "core.GetChatRoomListResponseDataItem": { "type": "object", "properties": { "avatar": { "type": "string" }, "is_manager": { "type": "integer" }, "manager_wxid": { "type": "string" }, "member_list": { "type": "array", "items": { "type": "string" } }, "nickname": { "type": "string" }, "remark": { "type": "string" }, "total_member": { "type": "integer" }, "wxid": { "type": "string" } } }, "core.GetChatRoomMemberListResponseData": { "type": "object", "properties": { "extend": { "type": "string" }, "group_wxid": { "type": "string" }, "member_list": { "type": "array", "items": { "type": "object", "properties": { "account": { "type": "string" }, "avatar": { "type": "string" }, "city": { "type": "string" }, "country": { "type": "string" }, "display_name": { "type": "string" }, "nickname": { "type": "string" }, "province": { "type": "string" }, "remark": { "type": "string" }, "sex": { "type": "integer" }, "wxid": { "type": "string" } } } }, "total": { "type": "integer" } } }, "core.GetCollectListResponseData": { "type": "object", "properties": { "items": { "type": "array", "items": { "type": "object", "properties": { "from_user": { "type": "string" }, "local_id": { "type": "integer" }, "room_member": { "type": "string" }, "title": { "type": "string" }, "type": { "type": "integer" }, "update_time": { "type": "integer" }, "xml": { "type": "string" } } } }, "status": { "type": "integer" } } }, "core.GetFriendBriefInfoByProtocolResponseData": { "type": "object", "properties": { "account": { "type": "string" }, "avatar": { "type": "string" }, "city": { "type": "string" }, "country": { "type": "string" }, "nickname": { "type": "string" }, "province": { "type": "string" }, "remark": { "type": "string" }, "sex": { "type": "integer" }, "signature": { "type": "string" }, "small_avatar": { "type": "string" }, "sns_pic": { "type": "string" }, "source_type": { "type": "integer" }, "status": { "type": "integer" }, "v1": { "type": "string" }, "v2": { "type": "string" }, "wxid": { "type": "string" } } }, "core.GetFriendDetailInfoByProtocolResponseDataContactListItem": { "type": "object", "properties": { "addContactScene": { "type": "integer" }, "additionalContactList": { "type": "object", "properties": { "linkedinContactItem": { "type": "object" } } }, "albumBgImgId": { "type": "string" }, "albumFlag": { "type": "integer" }, "albumStyle": { "type": "integer" }, "alias": { "type": "string" }, "bigHeadImgUrl": { "type": "string" }, "bitMask": { "type": "integer" }, "bitVal": { "type": "integer" }, "cardImgUrl": { "type": "string" }, "chatRoomData": { "type": "string" }, "chatRoomNotify": { "type": "integer" }, "chatRoomOwner": { "type": "string" }, "chatroomInfoVersion": { "type": "integer" }, "chatroomMaxCount": { "type": "integer" }, "chatroomType": { "type": "integer" }, "chatroomVersion": { "type": "integer" }, "city": { "type": "string" }, "contactType": { "type": "integer" }, "country": { "type": "string" }, "customizedInfo": { "type": "object", "properties": { "brandFlag": { "type": "integer" }, "brandIconURL": { "type": "string" }, "brandInfo": { "type": "string" }, "externalInfo": { "type": "string" } } }, "deleteFlag": { "type": "integer" }, "description": { "type": "string" }, "domainList": { "type": "object" }, "encryptUserName": { "type": "string" }, "extInfo": { "type": "string" }, "hasWeiXinHdHeadImg": { "type": "integer" }, "headImgMd5": { "type": "string" }, "idcardNum": { "type": "string" }, "imgBuf": { "type": "object", "properties": { "buffer": { "type": "string" }, "iLen": { "type": "integer" } } }, "imgFlag": { "type": "integer" }, "labelIdList": { "type": "string" }, "level": { "type": "integer" }, "mobileFullHash": { "type": "string" }, "mobileHash": { "type": "string" }, "myBrandList": { "type": "string" }, "newChatroomData": { "type": "object", "properties": { "chatRoomMemberList": { "type": "array", "items": {} }, "infoMask": { "type": "integer" }, "memberCount": { "type": "integer" } } }, "nickName": { "type": "object", "properties": { "string": { "type": "string" } } }, "personalCard": { "type": "integer" }, "phoneNumListInfo": { "type": "object", "properties": { "count": { "type": "integer" }, "phoneNumList": { "type": "array", "items": {} } } }, "province": { "type": "string" }, "pyInitial": { "type": "object", "properties": { "string": { "type": "string" } } }, "quanPin": { "type": "object", "properties": { "string": { "type": "string" } } }, "realName": { "type": "string" }, "remark": { "type": "object" }, "remarkPYInitial": { "type": "object" }, "remarkQuanPin": { "type": "object" }, "roomInfoCount": { "type": "integer" }, "roomInfoList": { "type": "array", "items": {} }, "sex": { "type": "integer" }, "signature": { "type": "string" }, "smallHeadImgUrl": { "type": "string" }, "snsUserInfo": { "type": "object", "properties": { "snsBgImgId": { "type": "string" }, "snsBgObjectId": { "type": "string" }, "snsFlag": { "type": "integer" }, "snsFlagEx": { "type": "integer" } } }, "source": { "type": "integer" }, "userName": { "type": "object", "properties": { "string": { "type": "string" } } }, "verifyContent": { "type": "string" }, "verifyFlag": { "type": "integer" }, "verifyInfo": { "type": "string" }, "weiDianInfo": { "type": "string" }, "weibo": { "type": "string" }, "weiboFlag": { "type": "integer" }, "weiboNickname": { "type": "string" } } }, "core.GetFriendListResponseDateItem": { "type": "object", "properties": { "account": { "description": "微信账号,友情的直接连线", "type": "string" }, "avatar": { "description": "头像的风景画,好友的形象代言", "type": "string" }, "city": { "description": "都市的温馨角落,好友的日常坐标", "type": "string" }, "country": { "description": "国界的另一端,好友的远方故事", "type": "string" }, "labelid_list": { "description": "标签的彩虹桥,连接不同朋友圈的密码", "type": "string" }, "nickname": { "description": "昵称的诗篇,好友的个性签名", "type": "string" }, "province": { "description": "省份的风土人情,好友的地域色彩", "type": "string" }, "remark": { "description": "备注的小秘密,只有你知道的代号", "type": "string" }, "sex": { "description": "性别的罗盘,1为蓝海,2为红颜", "type": "integer" }, "wxid": { "description": "微信ID,好友的唯一坐标", "type": "string" } } }, "core.GetFriendMomentRequest": { "type": "object", "properties": { "first_page_md5": { "type": "string" }, "max_id": { "type": "string" }, "username": { "type": "string" } } }, "core.GetFriendMomentResponseData": { "type": "object", "properties": { "baseResponse": { "type": "object", "properties": { "errMsg": { "type": "object" }, "ret": { "type": "integer" } } }, "continueId": { "type": "string" }, "firstPageMd5": { "type": "string" }, "limitedId": { "type": "string" }, "newRequestTime": { "type": "integer" }, "objectCount": { "type": "integer" }, "objectCountForSameMd5": { "type": "integer" }, "objectList": { "type": "array", "items": {} }, "objectTotalCount": { "type": "integer" }, "retTips": { "type": "string" }, "serverConfig": { "type": "object", "properties": { "copyAndPasteWordLimit": { "type": "integer" }, "postMentionLimit": { "type": "integer" } } }, "snsUserInfo": { "type": "object", "properties": { "snsBgImgId": { "type": "string" }, "snsBgObjectId": { "type": "string" }, "snsFlag": { "type": "integer" }, "snsFlagEx": { "type": "integer" } } } } }, "core.GetLoginUserInfoResponseData": { "type": "object", "properties": { "account": { "type": "string" }, "avatar": { "type": "string" }, "nickname": { "type": "string" }, "phone": { "type": "string" }, "pid": { "type": "integer" }, "unread_msg_count": { "type": "integer" }, "wx_user_dir": { "type": "string" }, "wxid": { "type": "string" } } }, "core.GetMiniProgramCodeRequest": { "type": "object", "properties": { "appid": { "type": "string" } } }, "core.GetMiniProgramCodeResponseData": { "type": "object", "properties": { "appIconUrl": { "type": "string" }, "appName": { "type": "string" }, "baseResponse": { "type": "object", "properties": { "errMsg": { "type": "object", "properties": { "string": { "type": "string" } } }, "ret": { "type": "integer" } } }, "code": { "type": "string" }, "jsApiBaseResponse": { "type": "object", "properties": { "errcode": { "type": "integer" }, "errmsg": { "type": "string" } } }, "liftSpan": { "type": "integer" }, "openId": { "type": "string" }, "scopeList": { "type": "array", "items": {} }, "sessionKey": { "type": "string" }, "sessionTicket": { "type": "string" }, "signature": { "type": "string" }, "state": { "type": "string" } } }, "core.GetMomentRequest": { "type": "object", "properties": { "max_id": { "type": "string" } } }, "core.GetPublicUserListResponseData": { "type": "object", "properties": { "avatar": { "type": "string" }, "nickname": { "type": "string" }, "wxid": { "type": "string" } } }, "core.GetRoomMemberInviteListResponseData": { "type": "object", "properties": { "member_list": { "type": "array", "items": { "type": "object", "properties": { "avatar": { "type": "string" }, "flag": { "type": "integer" }, "invite_by": { "type": "string" }, "nickname": { "type": "string" }, "wxid": { "type": "string" } } } }, "room_wxid": { "type": "string" } } }, "core.GetTagListByWxidRequest": { "type": "object", "properties": { "wxid": { "type": "string" } } }, "core.GetTagListByWxidResponseData": { "type": "object", "properties": { "labelid_list": { "type": "string" }, "wxid": { "type": "string" } } }, "core.GetTagListResponseDataItem": { "type": "object", "properties": { "label_id": { "type": "string" }, "label_name": { "type": "string" } } }, "core.GetWorkWxChatRoomMemberRequest": { "type": "object", "properties": { "room_wxid": { "type": "string" } } }, "core.GetWorkWxChatRoomMemberResponseData": { "type": "object", "properties": { "member_list": { "type": "array", "items": { "type": "object", "properties": { "avatar": { "type": "string" }, "nickname": { "type": "string" }, "sex": { "type": "integer" }, "wxid": { "type": "string" } } } }, "room_wxid": { "type": "string" } } }, "core.GetWorkWxRoomListResponseDataItem": { "type": "object", "properties": { "avatar": { "type": "string" }, "manager_wxid": { "type": "string" }, "nickname": { "type": "string" }, "room_wxid": { "type": "string" }, "total_member": { "type": "integer" } } }, "core.GetWorkWxUserListResponseDataItem": { "type": "object", "properties": { "avatar": { "type": "string" }, "nickname": { "type": "string" }, "sex": { "type": "integer" }, "wxid": { "type": "string" } } }, "core.HttpCallBackRequest": { "type": "object", "properties": { "timeout": { "description": "默认5秒", "type": "integer" }, "url": { "type": "string" } } }, "core.InviteToRoomRequest": { "type": "object", "properties": { "member_list": { "type": "array", "items": { "type": "string" } }, "room_wxid": { "type": "string" } } }, "core.InviteToRoomResponseData": { "type": "object", "properties": { "baseResponse": { "type": "object", "properties": { "errMsg": { "type": "object", "properties": { "string": { "type": "string" } } }, "ret": { "type": "integer" } } }, "memberCount": { "type": "integer" }, "memberList": { "type": "array", "items": { "type": "object", "properties": { "city": { "type": "string" }, "contactType": { "type": "integer" }, "country": { "type": "string" }, "memberName": { "type": "object", "properties": { "string": { "type": "string" } } }, "memberStatus": { "type": "integer" }, "nickName": { "type": "object", "properties": { "string": { "type": "string" } } }, "personalCard": { "type": "integer" }, "province": { "type": "string" }, "pyInitial": { "type": "object", "properties": { "string": { "type": "string" } } }, "quanPin": { "type": "object", "properties": { "string": { "type": "string" } } }, "remark": { "type": "object" }, "remarkPYInitial": { "type": "object" }, "remarkQuanPin": { "type": "object" }, "sex": { "type": "integer" }, "signature": { "type": "string" }, "verifyFlag": { "type": "integer" }, "verifyInfo": { "type": "string" } } } } } }, "core.LikeMomentRequest": { "type": "object", "properties": { "object_id": { "type": "string" } } }, "core.LikeMomentResponseData": { "type": "object", "properties": { "baseResponse": { "type": "object", "properties": { "errMsg": { "type": "object" }, "ret": { "type": "integer" } } }, "snsObject": { "type": "object", "properties": { "blackList": { "type": "array", "items": {} }, "blackListCount": { "type": "integer" }, "commentCount": { "type": "integer" }, "commentUserList": { "type": "array", "items": { "type": "object", "properties": { "commentFlag": { "type": "integer" }, "commentId": { "type": "integer" }, "commentId2": { "type": "string" }, "content": { "type": "string" }, "createTime": { "type": "integer" }, "deleteFlag": { "type": "integer" }, "isNotRichText": { "type": "integer" }, "nickname": { "type": "string" }, "replyCommentId": { "type": "integer" }, "replyCommentId2": { "type": "string" }, "replyUsername": { "type": "string" }, "source": { "type": "integer" }, "type": { "type": "integer" }, "username": { "type": "string" } } } }, "commentUserListCount": { "type": "integer" }, "createTime": { "type": "integer" }, "deleteFlag": { "type": "integer" }, "extFlag": { "type": "integer" }, "groupCount": { "type": "integer" }, "groupList": { "type": "array", "items": {} }, "groupUser": { "type": "array", "items": {} }, "groupUserCount": { "type": "integer" }, "id": { "type": "string" }, "isNotRichText": { "type": "integer" }, "likeCount": { "type": "integer" }, "likeFlag": { "type": "integer" }, "likeUserList": { "type": "array", "items": { "type": "object", "properties": { "commentFlag": { "type": "integer" }, "commentId": { "type": "integer" }, "commentId2": { "type": "string" }, "content": { "type": "string" }, "createTime": { "type": "integer" }, "deleteFlag": { "type": "integer" }, "isNotRichText": { "type": "integer" }, "nickname": { "type": "string" }, "replyCommentId": { "type": "integer" }, "replyCommentId2": { "type": "string" }, "replyUsername": { "type": "string" }, "source": { "type": "integer" }, "type": { "type": "integer" }, "username": { "type": "string" } } } }, "likeUserListCount": { "type": "integer" }, "nickname": { "type": "string" }, "noChange": { "type": "integer" }, "objectDesc": { "type": "object", "properties": { "buffer": { "type": "string" }, "iLen": { "type": "integer" } } }, "objectOperations": { "type": "object", "properties": { "buffer": { "type": "string" }, "iLen": { "type": "integer" } } }, "preDownloadInfo": { "type": "object", "properties": { "noPreDownloadRange": { "type": "string" }, "preDownloadNetType": { "type": "integer" }, "preDownloadPercent": { "type": "integer" } } }, "referId": { "type": "string" }, "referUsername": { "type": "string" }, "snsRedEnvelops": { "type": "object", "properties": { "reportId": { "type": "integer" }, "reportKey": { "type": "integer" }, "resourceId": { "type": "integer" }, "rewardCount": { "type": "integer" }, "rewardUserList": { "type": "array", "items": {} } } }, "username": { "type": "string" }, "weAppInfo": { "type": "object", "properties": { "appId": { "type": "integer" }, "mapPoiId": { "type": "string" }, "redirectUrl": { "type": "string" }, "score": { "type": "integer" }, "showType": { "type": "integer" }, "userName": { "type": "string" } } }, "withUserCount": { "type": "integer" }, "withUserList": { "type": "array", "items": {} }, "withUserListCount": { "type": "integer" } } } } }, "core.LiveEnterRequest": { "type": "object", "properties": { "live_id": { "type": "string" }, "object_id": { "type": "string" }, "object_nonce_id": { "type": "string" } } }, "core.LiveGetOnlineUserRequest": { "type": "object", "properties": { "last_buff": { "type": "string" }, "live_id": { "type": "string" }, "object_id": { "type": "string" }, "object_nonce_id": { "type": "string" } } }, "core.LiveGetShelfRequest": { "type": "object", "properties": { "live_username": { "type": "string" }, "request_id": { "type": "string" } } }, "core.LiveSendMsgRequest": { "type": "object", "properties": { "content": { "type": "string" } } }, "core.ModifyTagRequest": { "type": "object", "properties": { "label_id": { "type": "integer" }, "label_name": { "type": "string" } } }, "core.RefreshLoginQrCodeResponseData": { "type": "object", "properties": { "file": { "type": "string" }, "pid": { "type": "integer" }, "qrcode": { "type": "string" } } }, "core.RoomShowNickNameRequest": { "type": "object", "properties": { "room_wxid": { "type": "string" }, "status": { "description": "1显示 0隐藏", "type": "integer" } } }, "core.SaveRoomSaveToContactRequest": { "type": "object", "properties": { "room_wxid": { "type": "string" }, "status": { "description": "1保存 2移出", "type": "integer" } } }, "core.SearchWxUserResponseData": { "type": "object", "properties": { "account": { "type": "string" }, "avatar": { "type": "string" }, "city": { "type": "string" }, "country": { "type": "string" }, "keyword": { "type": "string" }, "nickname": { "type": "string" }, "provice": { "type": "string" }, "search": { "type": "string" }, "sex": { "type": "integer" }, "signature": { "type": "string" }, "small_avatar": { "type": "string" }, "status": { "type": "integer" }, "v1": { "type": "string" }, "v2": { "type": "string" }, "wxid": { "type": "string" } } }, "core.SendCardMsgRequest": { "type": "object", "properties": { "card_wxid": { "type": "string" }, "to_wxid": { "type": "string" } } }, "core.SendCollectMsgByMsgIdRequest": { "type": "object", "properties": { "msgid": { "type": "string" } } }, "core.SendCollectRequest": { "type": "object", "properties": { "local_id": { "type": "integer" }, "to_wxid": { "type": "string" } } }, "core.SendFileMsgRequest": { "type": "object", "properties": { "file": { "type": "string" }, "to_wxid": { "type": "string" } } }, "core.SendGifMsgRequest": { "type": "object", "properties": { "file": { "type": "string" }, "to_wxid": { "type": "string" } } }, "core.SendImageMsgRequest": { "type": "object", "properties": { "file": { "description": "例如 \"C:\\\\a.jpg\"", "type": "string" }, "to_wxid": { "type": "string" } } }, "core.SendLinkMsgRequest": { "type": "object", "properties": { "desc": { "type": "string" }, "image_url": { "type": "string" }, "title": { "type": "string" }, "to_wxid": { "type": "string" }, "url": { "type": "string" } } }, "core.SendMomentRequest": { "type": "object", "properties": { "object_desc": { "type": "string" } } }, "core.SendMomentResponseData": { "type": "object", "properties": { "baseResponse": { "type": "object", "properties": { "errMsg": { "type": "object" }, "ret": { "type": "integer" } } }, "snsObject": { "type": "object", "properties": { "blackList": { "type": "array", "items": {} }, "blackListCount": { "type": "integer" }, "commentCount": { "type": "integer" }, "commentUserList": { "type": "array", "items": {} }, "commentUserListCount": { "type": "integer" }, "createTime": { "type": "integer" }, "deleteFlag": { "type": "integer" }, "extFlag": { "type": "integer" }, "groupCount": { "type": "integer" }, "groupList": { "type": "array", "items": {} }, "groupUser": { "type": "array", "items": {} }, "groupUserCount": { "type": "integer" }, "id": { "type": "string" }, "isNotRichText": { "type": "integer" }, "likeCount": { "type": "integer" }, "likeFlag": { "type": "integer" }, "likeUserList": { "type": "array", "items": {} }, "likeUserListCount": { "type": "integer" }, "nickname": { "type": "string" }, "noChange": { "type": "integer" }, "objectDesc": { "type": "object", "properties": { "buffer": { "type": "string" }, "iLen": { "type": "integer" } } }, "objectOperations": { "type": "object", "properties": { "buffer": { "type": "string" }, "iLen": { "type": "integer" } } }, "preDownloadInfo": { "type": "object", "properties": { "noPreDownloadRange": { "type": "string" }, "preDownloadNetType": { "type": "integer" }, "preDownloadPercent": { "type": "integer" } } }, "referId": { "type": "string" }, "referUsername": { "type": "string" }, "snsRedEnvelops": { "type": "object", "properties": { "reportId": { "type": "integer" }, "reportKey": { "type": "integer" }, "resourceId": { "type": "integer" }, "rewardCount": { "type": "integer" }, "rewardUserList": { "type": "array", "items": {} } } }, "username": { "type": "string" }, "weAppInfo": { "type": "object", "properties": { "appId": { "type": "integer" }, "mapPoiId": { "type": "string" }, "redirectUrl": { "type": "string" }, "score": { "type": "integer" }, "showType": { "type": "integer" }, "userName": { "type": "string" } } }, "withUserCount": { "type": "integer" }, "withUserList": { "type": "array", "items": {} }, "withUserListCount": { "type": "integer" } } }, "spamTips": { "type": "string" } } }, "core.SendTextMsgRequest": { "type": "object", "properties": { "at_list": { "description": "群消息时候使用 \"notify@all\" @所有人", "type": "array", "items": { "type": "string" } }, "content": { "type": "string" }, "to_wxid": { "type": "string" } } }, "core.SendVideoMsgRequest": { "type": "object", "properties": { "file": { "type": "string" }, "to_wxid": { "type": "string" } } }, "core.SendXmlMsgRequest": { "type": "object", "properties": { "to_wxid": { "type": "string" }, "xml": { "type": "string" } } }, "core.SwitchSessionRequest": { "type": "object", "properties": { "to_wxid": { "type": "string" } } }, "core.UploadMomentImageRequest": { "type": "object", "properties": { "path": { "type": "string" } } }, "core.UploadMomentImageResponseData": { "type": "object", "properties": { "baseResponse": { "type": "object", "properties": { "ret": { "type": "integer" } } }, "bufferUrl": { "type": "object", "properties": { "type": { "type": "integer" }, "url": { "type": "string" } } }, "clientId": { "type": "string" }, "id": { "type": "integer" }, "startPos": { "type": "integer" }, "thumbUrlCount": { "type": "integer" }, "thumbUrls": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "integer" }, "url": { "type": "string" } } } }, "totalLen": { "type": "integer" }, "type": { "type": "integer" } } }, "core.VideoMomentCreateVirtualNickNameRequest": { "type": "object", "properties": { "headimg_url": { "type": "string" }, "nickname": { "type": "string" } } }, "core.VideoMomentFollowRequest": { "type": "object", "properties": { "username": { "type": "string" } } }, "core.VideoMomentFollowResponseData": { "type": "object", "properties": { "baseResponse": { "type": "object", "properties": { "errMsg": { "type": "object", "properties": { "string": { "type": "string" } } }, "ret": { "type": "integer" } } }, "contact": { "type": "object", "properties": { "archievementInfo": { "type": "object" }, "authInfo": { "type": "object", "properties": { "appName": { "type": "string" }, "authGuarantor": { "type": "object" }, "authIconType": { "type": "integer" }, "authIconUrl": { "type": "string" }, "authProfession": { "type": "string" }, "authVerifyIdentity": { "type": "integer" }, "customerType": { "type": "integer" }, "detailLink": { "type": "string" }, "realName": { "type": "string" }, "verifyStatus": { "type": "integer" } } }, "bindInfo": { "type": "array", "items": {} }, "coverEntranceFlag": { "type": "integer" }, "coverImgUrl": { "type": "string" }, "coverUrl": { "type": "string" }, "extFlag": { "type": "integer" }, "extInfo": { "type": "object", "properties": { "birthDay": { "type": "integer" }, "birthMonth": { "type": "integer" }, "birthYear": { "type": "integer" }, "city": { "type": "string" }, "country": { "type": "string" }, "province": { "type": "string" }, "sex": { "type": "integer" } } }, "fansCount": { "type": "integer" }, "feedCount": { "type": "integer" }, "followFlag": { "type": "integer" }, "followTime": { "type": "integer" }, "foreignUserFlag": { "type": "integer" }, "friendFollowCount": { "type": "integer" }, "guestInfo": { "type": "object" }, "headUrl": { "type": "string" }, "liveCoverImgUrl": { "type": "string" }, "liveInfo": { "type": "object", "properties": { "anchorStatusFlag": { "type": "string" }, "lotterySetting": { "type": "object", "properties": { "attendType": { "type": "integer" }, "settingFlag": { "type": "string" } } }, "micSetting": { "type": "object", "properties": { "settingFlag": { "type": "string" }, "settingSwitchFlag": { "type": "string" } } }, "switchFlag": { "type": "integer" } } }, "liveNoticeInfo": { "type": "object" }, "liveStatus": { "type": "integer" }, "loggingoutWording": { "type": "string" }, "menu": { "type": "array", "items": {} }, "msgInfo": { "type": "object" }, "nickname": { "type": "string" }, "oneTimeFlag": { "type": "integer" }, "originalEntranceFlag": { "type": "integer" }, "originalFlag": { "type": "integer" }, "originalInfo": { "type": "object" }, "seq": { "type": "integer" }, "signature": { "type": "string" }, "spamStatus": { "type": "integer" }, "userFlag": { "type": "integer" }, "userMode": { "type": "integer" }, "username": { "type": "string" }, "vestNickname": { "type": "string" }, "wxUsernameV5": { "type": "string" } } }, "liveStatusFlag": { "type": "integer" } } }, "core.VideoMomentGetSessionIdRequest": { "type": "object", "properties": { "roleType": { "type": "integer" }, "to_username": { "type": "string" } } }, "core.VideoMomentGetSessionIdResponseData": { "type": "object", "properties": { "baseResponse": { "type": "object", "properties": { "errMsg": { "type": "object" }, "ret": { "type": "integer" } } }, "enableAction": { "type": "integer" }, "sessionId": { "type": "string" }, "sessionInfo": { "type": "object", "properties": { "enableAction": { "type": "integer" }, "msgExtInfo": { "type": "string" }, "rejectMsg": { "type": "integer" }, "sessionId": { "type": "string" }, "toUsername": { "type": "string" } } }, "toUsername": { "type": "string" } } }, "core.VideoMomentInitResponseData": { "type": "object", "properties": { "aliasInfo": { "type": "array", "items": { "type": "object", "properties": { "aliasMsgName": { "type": "string" }, "aliasVersion": { "type": "integer" }, "headImgUrl": { "type": "string" }, "nickname": { "type": "string" }, "roleType": { "type": "integer" } } } }, "baseResponse": { "type": "object", "properties": { "errMsg": { "type": "object", "properties": { "string": { "type": "string" } } }, "ret": { "type": "integer" } } }, "cmdlist": { "type": "array", "items": {} }, "continueFlag": { "type": "integer" }, "currentAliasRoleType": { "type": "integer" }, "finderUsernameList": { "type": "array", "items": { "type": "object", "properties": { "finderUsernameList": { "type": "string" } } } }, "keybuf": { "type": "object", "properties": { "buffer": { "type": "string" }, "iLen": { "type": "integer" } } }, "myacct": { "type": "array", "items": { "type": "object", "properties": { "archievementInfo": { "type": "object" }, "authInfo": { "type": "object" }, "bindInfo": { "type": "array", "items": {} }, "coverEntranceFlag": { "type": "integer" }, "coverImgUrl": { "type": "string" }, "coverUrl": { "type": "string" }, "extFlag": { "type": "integer" }, "extInfo": { "type": "object", "properties": { "birthDay": { "type": "integer" }, "birthMonth": { "type": "integer" }, "birthYear": { "type": "integer" }, "city": { "type": "string" }, "country": { "type": "string" }, "province": { "type": "string" }, "sex": { "type": "integer" } } }, "fansCount": { "type": "integer" }, "feedCount": { "type": "integer" }, "followFlag": { "type": "integer" }, "followTime": { "type": "integer" }, "foreignUserFlag": { "type": "integer" }, "friendFollowCount": { "type": "integer" }, "guestInfo": { "type": "object" }, "headUrl": { "type": "string" }, "liveCoverImgUrl": { "type": "string" }, "liveInfo": { "type": "object", "properties": { "anchorStatusFlag": { "type": "string" }, "lotterySetting": { "type": "object" }, "micSetting": { "type": "object", "properties": { "settingFlag": { "type": "string" }, "settingSwitchFlag": { "type": "string" } } }, "switchFlag": { "type": "integer" } } }, "liveNoticeInfo": { "type": "object" }, "liveStatus": { "type": "integer" }, "loggingoutWording": { "type": "string" }, "menu": { "type": "array", "items": {} }, "msgInfo": { "type": "object" }, "nickname": { "type": "string" }, "oneTimeFlag": { "type": "integer" }, "originalEntranceFlag": { "type": "integer" }, "originalFlag": { "type": "integer" }, "originalInfo": { "type": "object", "properties": { "postNeedCheckFlag": { "type": "integer" }, "punishYearFlag": { "type": "integer" }, "restApplyOriginalCount": { "type": "integer" }, "restPunishDay": { "type": "integer" }, "restRepostCount": { "type": "integer" } } }, "seq": { "type": "string" }, "signature": { "type": "string" }, "spamStatus": { "type": "integer" }, "userFlag": { "type": "integer" }, "userMode": { "type": "integer" }, "username": { "type": "string" }, "vestNickname": { "type": "string" }, "wxUsernameV5": { "type": "string" } } } }, "nextAliasModAvailableTime": { "type": "string" }, "retryDelaySecond": { "type": "integer" }, "ringtoneConfig": { "type": "object" }, "slideUpGuideConfig": { "type": "array", "items": {} }, "tabInfos": { "type": "array", "items": { "type": "object", "properties": { "displayTabType": { "type": "integer" }, "tabName": { "type": "string" } } } }, "teenmodeSetting": { "type": "object" }, "teenmodeTipsConfig": { "type": "object" }, "userNotCreatedFlag": { "type": "integer" }, "userver": { "type": "integer" }, "userverForH5": { "type": "integer" }, "wxPersonalizedSetting": { "type": "object" }, "wxUserAttr": { "type": "object", "properties": { "notAvailableFlag": { "type": "integer" }, "wording": { "type": "string" } } }, "wxUsernameForH5": { "type": "string" } } }, "core.VideoMomentLikeRequest": { "type": "object", "properties": { "object_id": { "type": "string" }, "object_nonce_id": { "type": "string" } } }, "core.VideoMomentLikeResponseData": { "type": "object", "properties": { "baseResponse": { "type": "object", "properties": { "errMsg": { "type": "object", "properties": { "string": { "type": "string" } } }, "ret": { "type": "integer" } } }, "likeid": { "type": "integer" } } }, "core.VideoMomentSearchRequest": { "type": "object", "properties": { "last_buff": { "type": "string" }, "query": { "type": "string" }, "scene": { "type": "integer" } } }, "core.VideoMomentSendMsgRequest": { "type": "object", "properties": { "content": { "type": "string" }, "session_id": { "type": "string" }, "to_username": { "type": "string" } } }, "core.VideoMomentSendMsgResponseData": { "type": "object", "properties": { "baseResponse": { "type": "object", "properties": { "errMsg": { "type": "object", "properties": { "string": { "type": "string" } } }, "ret": { "type": "integer" } } }, "newmsgid": { "type": "integer" } } }, "core.VideoMomentSwitchVirtualNickNameRequest": { "type": "object", "properties": { "role_type": { "type": "integer" } } }, "core.VideoMomentUserHomeRequest": { "type": "object", "properties": { "last_buff": { "type": "string" }, "username": { "type": "string" } } }, "core.VideoMomentVideoDetailRequest": { "type": "object", "properties": { "last_buff": { "type": "string" }, "object_id": { "type": "string" }, "object_nonce_id": { "type": "string" } } }, "core.VoiceToTextRequest": { "type": "object", "properties": { "msgid": { "type": "string" } } }, "core.VoiceToTextResponseData": { "type": "object", "properties": { "from_wxid": { "type": "string" }, "msgid": { "type": "string" }, "room_wxid": { "type": "string" }, "status": { "type": "integer" }, "text": { "type": "string" }, "to_wxid": { "type": "string" }, "wx_type": { "type": "integer" } } }, "core.WorkWxCdnDownloadRequest": { "type": "object", "properties": { "aes_key": { "type": "string" }, "auth_key": { "type": "string" }, "save_path": { "type": "string" }, "url": { "type": "string" } } }, "core.WorkWxCdnDownloadResponseData": { "type": "object", "properties": { "error_code": { "type": "integer" }, "save_path": { "type": "string" } } } } }` // SwaggerInfo holds exported Swagger Info so clients can modify it var SwaggerInfo = &swag.Spec{ Version: "3.9.10.19", Host: "", BasePath: "", Schemes: []string{}, Title: "WxHelper API", Description: "微信hook接口文档", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate, LeftDelim: "{{", RightDelim: "}}", } func init() { swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo) }