may I know how I can save it to file?
RingCentralSDKHttpApiResponse Object ( [_jsonAsArray:protected] => [_jsonAsObject:protected] => [_multiparts:protected] => [_response:protected] => GuzzleHttpPsr7Response Object ( [reasonPhrase:GuzzleHttpPsr7Response:private] => OK [statusCode:GuzzleHttpPsr7Response:private] => 200 [headers:GuzzleHttpPsr7Response:private] => Array (
php sample code to retrieving message attachments
Since you are using the RingCentral PHP SDK. Have a look at this demo code (https://github.com/ringcentral/ringcentral-php/blob/master/demo/callRecording.php).
It is for reading the call recording and download the call recording binary. But you can use the same code to download message attachment where you provide the URI of the message attachment.
+ Phong
It is for reading the call recording and download the call recording binary. But you can use the same code to download message attachment where you provide the URI of the message attachment.
+ Phong
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.