The underlying axios instance.
获取 access_token
Access token info
下载多媒体文件接口
ID of the media to get.
Info of the media.
发送图片消息
User ID of the recipient
ID of the media to be sent.
The other parameters.
Error code and error message.
发送图文消息(点击跳转到图文消息页面)
图文消息条数限制在 8 条以内,注意,如果图文数超过 8,则将会无响应。
User ID of the recipient
ID of the media to be sent.
The other parameters.
Error code and error message.
发送小程序卡片(要求小程序与公众号已关联)
User ID of the recipient
Info of the mini program page to be sent.
The other parameters.
Error code and error message.
发送菜单消息
User ID of the recipient
Data of the msg menu to be sent.
The other parameters.
Error code and error message.
发送音乐消息
User ID of the recipient
The other parameters.
Error code and error message.
发送图文消息(点击跳转到外链)
图文消息条数限制在 8 条以内,注意,如果图文数超过 8,则将会无响应。
User ID of the recipient
Data of the news to be sent.
The other parameters.
Error code and error message.
发送消息-客服消息
发送文本消息
User ID of the recipient
Text to be sent.
The other parameters.
Error code and error message.
发送视频消息
User ID of the recipient
Info of the video to be sent.
The other parameters.
Error code and error message.
发送语音消息
User ID of the recipient
ID of the media to be sent.
The other parameters.
Error code and error message.
发送卡券
User ID of the recipient
ID of the card to be sent.
The other parameters.
Error code and error message.
多媒体文件上传接口
Type of the media to upload.
Buffer or stream of the media to upload.
Info of the uploaded media.
Generated using TypeDoc
The current access token used by the client.