.fetchAttenderImage()

This API can be used to fetch the image of the operator/bot who has attended the chat.

Parameters:

NameDescription
attenderIDUnique ID for each attender
fetchDefaultImageTo fetch the default image of the attender or the bot if the image is not set

Error handling:

CodeMessage
605mobilisten disabled

 

Usage

CopiedZohoSalesIQ.fetchAttenderImage(attenderID, fetchDefaultImage).then((value) {
  Image profileImage = new Image.memory(base64Decode(value));
}).catchError((error) {
  // your code to handle errors
});