Skip to content

示例

👏🏻 欢迎点击本页下方 "帮助我们改善此页面!" 链接参与贡献更多的使用示例!

被动回复

被动回复一个图片信息
php
$server->with(function ($message) {
    return [
        'MsgType' => 'image',
        'Image' => [
            'MediaId' => $message['MediaId'],
        ],
    ]);
};

$server这里media_id 需提前由 企业微信>素材管理 接口产生。

Released under the MIT License.