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