sendFileMessage method
ๅ้ๆไปถ
Implementation
Future<V2TimValueCallback<V2TimMessage>> sendFileMessage({
required String filePath,
required String fileName,
required String receiver,
String? groupID,
int? priority = 0,
bool onlineUserOnly = false,
}) async {
return V2TimValueCallback<V2TimMessage>.fromJson(
_formatJson(
await _channel.invokeMethod(
"sendFileMessage",
_buildParam(
{
"filePath": filePath,
"fileName": fileName,
"receiver": receiver,
"groupID": groupID,
"priority": priority,
"onlineUserOnly": onlineUserOnly,
},
),
),
),
);
}