createFileMessage method
发送文件消息
Implementation
@override
Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createFileMessage({required String filePath, required String fileName, dynamic inputElement}) async {
return V2TimValueCallback<V2TimMsgCreateInfoResult>.fromJson(
formatJson(
await _channel.invokeMethod(
"createFileMessage",
buildMessageMangerParam(
{
"filePath": filePath,
"fileName": fileName,
},
),
),
),
);
}