Closed liwh011 closed 3 months ago
添加发送表情的方法。 可通过md5或文件两种方式发送:
// 可以通过解析他人表情消息的Content中的xml字符串来提取MD5 // 也可以自行计算文件MD5,前提是微信服务器已有该表情 msg.ReplyEmoticon("md5 string", nil) // 或以文件的形式 file, err := os.Open("path/to/image") ... msg.ReplyEmoticon("", file)
添加发送表情的方法。 可通过md5或文件两种方式发送: