mirror of
https://github.com/uowuo/abaddon.git
synced 2026-08-15 05:19:58 +00:00
support sending messages with @silent prefix
This commit is contained in:
1 parent
ed1f54d1a7
commit
2da021b5ea
6 files changed
+43
-13
No files matched your search
@@ -308,6 +308,7 @@ void to_json(nlohmann::json &j, const HeartbeatMessage &m) {
|
||||
|
||||
void to_json(nlohmann::json &j, const CreateMessageObject &m) {
|
||||
j["content"] = m.Content;
|
||||
j["flags"] = m.Flags;
|
||||
JS_IF("message_reference", m.MessageReference);
|
||||
JS_IF("nonce", m.Nonce);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user