setLocalCustomData method

Future<V2TimCallback> setLocalCustomData({
  1. required String msgID,
  2. required String localCustomData,
})

设置消息自定义数据(本地保存,不会发送到对端,程序卸载重装后失效) localCustomData 只是透传 注意: web不支持该接口

Implementation

Future<V2TimCallback> setLocalCustomData({
  required String msgID,
  required String localCustomData,
}) async {
  return TencentCloudChatSdkPlatform.instance.setLocalCustomData(msgID: msgID, localCustomData: localCustomData);
}