.Chat.fetchAttenderImage()
This API can be used to fetch the attender image of any conversation. The fetchDefaultImage function parameter can be set if the default operator or bot images are needed incase the attender's image has not be personalized.
This API takes a SIQVisitorChat class instance to fetch the attender image of the chat. You can get the SIQVisitorChat instance from the ZohoSalesIQ.Chat.getList() API.
Error Handling:
Code | Description |
606 | Invalid attender |
500 | Mobilisten not initialised |
605 | Mobilisten disabled |
Usage:
CopiedZohoSalesIQ.Chat.fetchAttenderImage(chat: chatObject){ (error, image) in
// your code goes here
}