新增消息回调

This commit is contained in:
2023-04-03 16:01:52 +08:00
parent f0fb754d82
commit 8207fa6512
2 changed files with 8 additions and 5 deletions
+3
View File
@@ -268,6 +268,9 @@ class ImService extends BaseService
$arg['CloudCustomData'] = json_encode($cloud_custom_data,JSON_UNESCAPED_UNICODE);
}
// 该条消息是否需要已读回执,0为不需要,1为需要,默认为0
$arg['IsNeedReadReceipt'] = 1;
$message->sendMessage($arg);
}catch (\Exception $e){
throw new BusinessException($e->getMessage());