14 lines
326 B
Go
14 lines
326 B
Go
package api
|
|
|
|
import (
|
|
"gitee.ltd/lxh/txim/api/param"
|
|
"gitee.ltd/lxh/txim/common"
|
|
)
|
|
|
|
// SendMessageToUser 发送单聊消息给用户
|
|
func SendMessageToUser(p *param.PushMessageToUserReq) (*param.PushMessageToUserRes, error) {
|
|
a := param.PushMessageToUserRes{}
|
|
err := Api(common.SendMessageToUser, p, &a)
|
|
return &a, err
|
|
}
|