PHP code example of tourze / wechat-work-msg-audit-bundle
1. Go to this page and download the library: Download tourze/wechat-work-msg-audit-bundle library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
tourze / wechat-work-msg-audit-bundle example snippets
use WechatWorkMsgAuditBundle\Request\GetPermitUserListRequest;
$request = new GetPermitUserListRequest();
$request->setAgent($agent);
$request->setType(1); // 1: Office edition, 2: Service edition, 3: Enterprise edition
$response = $httpClient->sendRequest($request);