From cb73bba135933357878dc47f6e7a6bec3168d001 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Mon, 19 Oct 2020 20:35:10 -0400 Subject: CHANNEL_CREATE, CHANNEL_UPDATE, CHANNEL_DELETE --- discord/channel.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'discord/channel.hpp') diff --git a/discord/channel.hpp b/discord/channel.hpp index 7f2bcd0..845cffb 100644 --- a/discord/channel.hpp +++ b/discord/channel.hpp @@ -37,6 +37,7 @@ struct Channel { std::string LastPinTimestamp; // opt, can be null even tho docs say otherwise friend void from_json(const nlohmann::json &j, Channel &m); + void update_from_json(const nlohmann::json &j); const PermissionOverwrite *GetOverwrite(Snowflake id) const; }; -- cgit v1.2.3