sendVideoMessage method
发送视频消息
Implementation
Future<V2TimValueCallback<V2TimMessage>> sendVideoMessage({
required String videoFilePath,
required String receiver,
required String type,
String? snapshotPath,
int? duration,
String? groupID,
int? priority,
bool? onlineUserOnly,
}) async {
return V2TimValueCallback<V2TimMessage>.fromJson(
_formatJson(
await _channel.invokeMethod(
"sendVideoMessage",
_buildParam(
{
"videoFilePath": videoFilePath,
"receiver": receiver,
"snapshotPath": snapshotPath,
"duration": duration,
"type": type,
"groupID": groupID,
"priority": priority,
"onlineUserOnly": onlineUserOnly,
},
),
),
),
);
}