mirror of
https://github.com/w7corp/easywechat.git
synced 2025-01-22 11:32:08 +00:00
“发送预览群发消息给指定的openid用户”,原文档代码里的参数写的是$groupID,应改成$openId
parent
67a579b58b
commit
662394d247
2
群发消息.md
2
群发消息.md
@ -20,7 +20,7 @@ $broadcast = new Broadcast($appId, $secret);
|
|||||||
+ `$broadcast->send($message)->to();` 群发消息给所有粉丝
|
+ `$broadcast->send($message)->to();` 群发消息给所有粉丝
|
||||||
+ `$broadcast->send($message)->to($groupId);` 群发消息给指定组
|
+ `$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($openId);` 发送预览群发消息给指定的openid用户
|
||||||
+ `$broadcast->send($message)->preview($wxname, Broadcast::PREVIEW_BY_WXH);` 发送预览群发消息给指定的微信号用户
|
+ `$broadcast->send($message)->preview($wxname, Broadcast::PREVIEW_BY_WXH);` 发送预览群发消息给指定的微信号用户
|
||||||
+ `$broadcast->delete($msgId);` 删除群发消息
|
+ `$broadcast->delete($msgId);` 删除群发消息
|
||||||
+ `$broadcast->status($msgId);` 查询群发消息发送状态
|
+ `$broadcast->status($msgId);` 查询群发消息发送状态
|
||||||
|
Loading…
Reference in New Issue
Block a user