setCloudCustomData method
设置云端自定义数据(云端保存,会发送到对端,程序卸载重装后还能拉取到)
web 不支持
Implementation
@override
Future<V2TimCallback> setCloudCustomData({
required String data,
required String msgID,
}) async {
return V2TimCallback.fromJson(
formatJson(
await _channel.invokeMethod(
"setCloudCustomData",
buildMessageMangerParam(
{
"msgID": msgID,
"data": data,
},
),
),
),
);
}