createChatroomVideoMessage method Null safety
Create a video message.
Implementation
static Future<NIMResult<NIMChatroomMessage>> createChatroomVideoMessage({
required String roomId,
required String filePath,
required int duration,
required int width,
required int height,
String? displayName,
NIMNosScene nosScene = NIMNosScenes.defaultIm,
}) async {
return NimCore.instance.chatroomService._createMessage({
'roomId': roomId,
'filePath': filePath,
'duration': duration,
'width': width,
'height': height,
'displayName': displayName,
'nosScene': nosScene,
'messageType': 'video',
});
}