diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-02-02 22:27:19 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-02-02 22:27:19 -0500 |
commit | f7845509646b6ddaab7209fac0d8caac77e9aa2c (patch) | |
tree | 1aff88ba59abb86cf2e39377d7f9f35f96c0e05d /src/discord/channel.hpp | |
parent | ce238d08e96aafc956b5ecd7cf00796a227c5666 (diff) | |
download | abaddon-portaudio-f7845509646b6ddaab7209fac0d8caac77e9aa2c.tar.gz abaddon-portaudio-f7845509646b6ddaab7209fac0d8caac77e9aa2c.zip |
support channel icons for dms
Diffstat (limited to 'src/discord/channel.hpp')
-rw-r--r-- | src/discord/channel.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/discord/channel.hpp b/src/discord/channel.hpp index 4485b0b..89e43a0 100644 --- a/src/discord/channel.hpp +++ b/src/discord/channel.hpp @@ -99,6 +99,8 @@ struct ChannelData { bool IsThread() const noexcept; bool IsJoinedThread() const; bool IsCategory() const noexcept; + bool HasIcon() const noexcept; + std::string GetIconURL() const; std::vector<Snowflake> GetChildIDs() const; std::optional<PermissionOverwrite> GetOverwrite(Snowflake id) const; std::vector<UserData> GetDMRecipients() const; |