createVideoMessage method
Future<V2TimValueCallback<V2TimMsgCreateInfoResult> >
createVideoMessage({
- required String videoFilePath,
- required String type,
- required int duration,
- required String snapshotPath,
- 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 V2TimValueCallback<V2TimMsgCreateInfoResult>.fromJson(
formatJson(
await _channel.invokeMethod(
"createVideoMessage",
buildMessageMangerParam(
{
"videoFilePath": videoFilePath,
"type": type,
"duration": duration,
"snapshotPath": snapshotPath,
},
),
),
),
);
}