diff --git a/群发消息.md b/群发消息.md index 31cea01..0fc9ead 100644 --- a/群发消息.md +++ b/群发消息.md @@ -20,7 +20,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)->preview($groupId);` 发送预览群发消息给指定的openid用户 ++ `$broadcast->send($message)->preview($openId);` 发送预览群发消息给指定的openid用户 + `$broadcast->send($message)->preview($wxname, Broadcast::PREVIEW_BY_WXH);` 发送预览群发消息给指定的微信号用户 + `$broadcast->delete($msgId);` 删除群发消息 + `$broadcast->status($msgId);` 查询群发消息发送状态