mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-13 20:18:50 +03:00
mark guild as read
This commit is contained in:
@@ -232,6 +232,7 @@ struct ReadStateEntry {
|
||||
// std::string LastPinTimestamp; iso
|
||||
|
||||
friend void from_json(const nlohmann::json &j, ReadStateEntry &m);
|
||||
friend void to_json(nlohmann::json &j, const ReadStateEntry &m);
|
||||
};
|
||||
|
||||
struct ReadStateData {
|
||||
@@ -772,3 +773,9 @@ struct MessageAckData {
|
||||
|
||||
friend void from_json(const nlohmann::json &j, MessageAckData &m);
|
||||
};
|
||||
|
||||
struct AckBulkData {
|
||||
std::vector<ReadStateEntry> ReadStates;
|
||||
|
||||
friend void to_json(nlohmann::json &j, const AckBulkData &m);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user