sendImageMessage method
Implementation
void sendImageMessage(String filePath, int fileSize, {NIMMessage? replyMsg}) {
MessageBuilder.createImageMessage(
sessionId: sessionId,
sessionType: sessionType,
filePath: filePath,
fileSize: fileSize)
.then((value) {
if (value.isSuccess) {
sendMessage(value.data!, replyMsg: replyMsg);
}
});
}