sendVideoMessage method
void
sendVideoMessage(})
Implementation
void sendVideoMessage(
String filePath, int duration, int width, int height, String displayName,
{NIMMessage? replyMsg}) {
MessageBuilder.createVideoMessage(
sessionId: sessionId,
sessionType: sessionType,
filePath: filePath,
duration: duration,
width: width,
height: height,
displayName: displayName)
.then((value) {
if (value.isSuccess) {
sendMessage(value.data!, replyMsg: replyMsg);
}
});
}