mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-06-03 14:31:43 +08:00
push
This commit is contained in:
parent
7445b84756
commit
428e5a7a4e
@ -168,6 +168,9 @@ func (g *Getui) Push(userIDList []string, title, detailContent, operationID stri
|
||||
var IsAsync = true
|
||||
pushReq.IsAsync = &IsAsync
|
||||
pushReq.Taskid = &taskID
|
||||
pushReq.Audience = struct {
|
||||
Alias []string `json:"alias"`
|
||||
}{Alias: userIDList}
|
||||
err = g.request(BatchPushURL, pushReq, token, &pushResp, operationID)
|
||||
} else {
|
||||
reqID := utils.OperationIDGenerator()
|
||||
|
Loading…
x
Reference in New Issue
Block a user