向订阅者发布事件
Future<NIMResult<void>> publishEvent(Event event) async { return _platform.publishEvent(event); }