createVideoMessage method

  1. @override
Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createVideoMessage({
  1. required String videoFilePath,
  2. required String? type,
  3. required int? duration,
  4. required String? snapshotPath,
  5. dynamic inputElement,
})
override

Implementation

@override
Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createVideoMessage({
  required String videoFilePath,
  required String? type,
  required int? duration,
  required String? snapshotPath,
  dynamic inputElement,
}) async {
  return _v2timMessageManager.createVideoMessage({
    "videoFilePath": videoFilePath,
    "type": type,
    "duration": duration,
    "snapshotPath": snapshotPath,
    "inputElement": inputElement,
  });
}