Categorygithub.com/rack-plugins/wechatmp
modulepackage
0.2.0
Repository: https://github.com/rack-plugins/wechatmp.git
Documentation: pkg.go.dev

# README

wechatmp

wechatmp api

rack 服务微信公众号模块

仅供测试使用,更新中

个人微信公众号

简介

根据公众号开发者文档 微信公众平台开发者文档 说明实现

  • 支持 gemini 文本对话
  • 支持自动回复消息
  • 支持超时重试,返回超时信息

demo

微信个人公众号:妙妙答

qr

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
DownloadFile 下载文件并保存到指定目录,返回文件路径.
GetAccessToken 获取 access_token.
接收公众号消息 https://mp.weixin.qq.com/debug/cgi-bin/apiinfo?t=index&type=%E8%87%AA%E5%AE%9A%E4%B9%89%E8%8F%9C%E5%8D%95&form=%E8%87%AA%E5%AE%9A%E4%B9%89%E8%8F%9C%E5%8D%95%E5%88%9B%E5%BB%BA%E6%8E%A5%E5%8F%A3%20/menu/creat.
No description provided by the author
No description provided by the author
Txt2img 向指定接口发送请求生成动漫风格图片,返回图片链接。.
UploadPermanentMedia 上传永久多媒体文件到微信公共平台.
UploadTempMedia 上传临时多媒体文件到微信公共平台.

# Constants

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

# Variables

No description provided by the author
No description provided by the author
存储消息.
存储 access_token,用于请求订阅号 api.

# Structs

No description provided by the author
Articles represents a collection of articles in a news message.
Image represents an image media structure.
Item represents an individual article in a news message.
MediaResponse 上传媒体文件后的响应结构.
Music represents a music media structure.
Signature represents the structure for WeChat message verification.
Video represents a video media structure.
VideoDescription 视频描述结构体.
Voice represents a voice media structure.
WechatmpMessage represents the structure of a WeChat public account message.

# Interfaces

No description provided by the author