Set tags
This event is used to set tags during a call.
{
"type": "DIALER.SET_TAGS",
"payload": {
"tagIds": "Number[]"
}
}
Successful set tags
When everything goes fine, you will receive a DIALER.SET_TAGS_FULFILLED event containing the tags that were set:
{
"type": "DIALER.SET_TAGS_FULFILLED",
"payload": "Tag[]"
}
Something went wrong
If something bad happens, you will receive a DIALER.SET_TAGS_REJECTED event:
{
"type": "DIALER.SET_TAGS_REJECTED",
"payload": {
"error": "Error"
}
}
The error
here, will correspond to whatever the backend service returns.