From 87bdb001685e042755cb468e0c320471500b74d7 Mon Sep 17 00:00:00 2001 From: Rucheng Tang Date: Sat, 19 Dec 2015 13:44:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E5=AD=97=E6=8B=BC?= =?UTF-8?q?=E5=86=99=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 群发消息.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/群发消息.md b/群发消息.md index 1cbf549..31cea01 100644 --- a/群发消息.md +++ b/群发消息.md @@ -19,7 +19,7 @@ $broadcast = new Broadcast($appId, $secret); + `$broadcast->send($message)->to();` 群发消息给所有粉丝 + `$broadcast->send($message)->to($groupId);` 群发消息给指定组 -+ `$broadcast->send($message)->to(array($openId1, $openId2));` 群发消息给指定用户,可以是一个用户,也可以使多个用户,但必须是数组 ++ `$broadcast->send($message)->to(array($openId1, $openId2));` 群发消息给指定用户,可以是一个用户,也可以是多个用户,但必须是数组 + `$broadcast->send($message)->preview($groupId);` 发送预览群发消息给指定的openid用户 + `$broadcast->send($message)->preview($wxname, Broadcast::PREVIEW_BY_WXH);` 发送预览群发消息给指定的微信号用户 + `$broadcast->delete($msgId);` 删除群发消息