Skip to content
Repos

DevPlaceApp

C++ 302 B16 lines Opens in site

Directory Raw Download

#pragma once
// Spec: models.md NotificationOpen. `data` is always null on the wire and ignored.
#include <string>

#include "core/Json.hpp"

namespace dp {

struct NotificationOpen {
  bool ok = false;
  std::string redirect;

  static NotificationOpen fromJson(const Json& j);
};

}  // namespace dp
37.9ms