From 22578921b9e577c669cd57385df48cfc08fa90eb Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Mon, 14 Dec 2020 03:05:16 -0500 Subject: pretend to be a real client a little better --- discord/channel.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'discord/channel.hpp') diff --git a/discord/channel.hpp b/discord/channel.hpp index 5f8e5e3..040da25 100644 --- a/discord/channel.hpp +++ b/discord/channel.hpp @@ -30,7 +30,8 @@ struct Channel { std::optional UserLimit; std::optional RateLimitPerUser; std::optional> Recipients; // only access id - std::optional Icon; // null + std::optional> RecipientIDs; + std::optional Icon; // null std::optional OwnerID; std::optional ApplicationID; std::optional ParentID; // null @@ -40,4 +41,5 @@ struct Channel { void update_from_json(const nlohmann::json &j); std::optional GetOverwrite(Snowflake id) const; + std::vector GetDMRecipients() const; }; -- cgit v1.2.3