createFileMessage method

  1. @override
Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createFileMessage({
  1. required String filePath,
  2. required String fileName,
  3. dynamic inputElement,
})
override

发送文件消息

Implementation

@override
Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createFileMessage({required String filePath, required String fileName, dynamic inputElement}) async {
  return _v2timMessageManager.createFileMessage({"filePath": filePath, "fileName": fileName, "inputElement": inputElement});
}