archive/unarchive from channel list

This commit is contained in:
ouwou
2021-08-28 02:28:41 -04:00
parent 3977159415
commit 8ed2cd65b6
6 changed files with 68 additions and 1 deletions

View File

@@ -738,3 +738,10 @@ struct ThreadMemberListUpdateData {
friend void from_json(const nlohmann::json &j, ThreadMemberListUpdateData &m);
};
struct ModifyChannelObject {
std::optional<bool> Archived;
std::optional<bool> Locked;
friend void to_json(nlohmann::json &j, const ModifyChannelObject &m);
};