获取消息未读数
static Future<NIMResult<int>> getMsgUnreadCount() { return NimCore.instance.messageService .queryTotalUnreadCount(queryType: NIMUnreadCountQueryType.notifyOnly); }