.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:

CodeDescription
606Invalid attender
500Mobilisten not initialised
605Mobilisten disabled

 

Usage:


				ZohoSalesIQ.Chat.fetchAttenderImage(chat: chatObject){ (error, image) in
    // your code goes here
}