getServicePresenceStatusChannels
Retrieves the service channels that are associated with an Omni-Channel user’s current presence status. Available in API versions 32.0 and later.
| Name | Type | Description |
|---|---|---|
callback | function | JavaScript method to call when the channels associated with a presence status are retrieved. |
This method is asynchronous so it returns its response in an object in a callback method. The response object contains the following properties:
| Name | Type | Description |
|---|---|---|
success | Boolean | true if retrieving the current presence status channels was successful; false if the retrieving the current presence status channels wasn’t successful. |
channels | JSON string of channel objects | Returns the IDs and API names of the channels associated with the presence status. |