From Bright Pattern Documentation
								
												
				| imported>Tracy |  (Updated via BpDeleteTranslateTags script) | ||
| Line 1: | Line 1: | ||
| − | + | ||
| = muteCallRecording(callback) = | = muteCallRecording(callback) = | ||
| Mutes the call recording and gets confirmation that recording is on mute. | Mutes the call recording and gets confirmation that recording is on mute. | ||
| Line 47: | Line 47: | ||
|      data.muted = true; |      data.muted = true; | ||
|   } |   } | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Latest revision as of 04:09, 29 May 2024
muteCallRecording(callback)
Mutes the call recording and gets confirmation that recording is on mute.
Request
Syntax
window.bpspat.api.muteCallRecording(callback)
callback = function(data) {
}
Arguments
| Parameter | Type | Description | 
| callback | function | JavaScript method executed when API method request is completed | 
Response
The response object may contain the following fields.
| Name | Data Type | Description | 
| data.item_id | string | interaction ID | 
| data.recording | boolean | Whether a call is being recorded ("true") or not ("false") | 
| data.muted | boolean | Whether the call recording is on mute ("true") or not ("false") | 
Example
{
   data.item_id = "12121212";
   data.recording = true;
   data.muted = true;
}