forked from lxh/go-wxhelper
47 lines
898 B
Go
47 lines
898 B
Go
package wxhelper
|
|
|
|
// SendTextMsg
|
|
// @description: 发送文字消息
|
|
// @receiver wx
|
|
// @param toUserId
|
|
// @param atUserId
|
|
// @param msg
|
|
// @return err
|
|
func (wx wxHelper) SendTextMsg(toUserId, atUserId, msg string) (err error) {
|
|
|
|
return
|
|
}
|
|
|
|
// SendFileMsg
|
|
// @description: 发送文件消息
|
|
// @receiver wx
|
|
// @param toUserId
|
|
// @param filePath
|
|
// @return err
|
|
func (wx wxHelper) SendFileMsg(toUserId, filePath string) (err error) {
|
|
|
|
return
|
|
}
|
|
|
|
// SendImagesMsg
|
|
// @description: 发送图片消息
|
|
// @receiver wx
|
|
// @param toUserId
|
|
// @param imagePath
|
|
// @return err
|
|
func (wx wxHelper) SendImagesMsg(toUserId, imagePath string) (err error) {
|
|
|
|
return
|
|
}
|
|
|
|
// SendCustomEmotionMsg
|
|
// @description: 发送自定义表情消息
|
|
// @receiver wx
|
|
// @param toUserId
|
|
// @param emotionPath
|
|
// @return err
|
|
func (wx wxHelper) SendCustomEmotionMsg(toUserId string, emotionPath string) (err error) {
|
|
|
|
return
|
|
}
|