.fetchAttenderImage()
This API can be used to fetch the image of the operator/bot who has attended the chat.
Parameters:
Name | Description |
attenderID | Unique ID for each attender |
fetchDefaultImage | To fetch the default image of the attender or the bot if the image is not set |
Error handling:
Code | Message |
605 | mobilisten disabled |
Usage
CopiedZohoSalesIQ.fetchAttenderImage(attenderID, fetchDefaultImage).then((value) {
Image profileImage = new Image.memory(base64Decode(value));
}).catchError((error) {
// your code to handle errors
});