summaryrefslogtreecommitdiff
path: root/src/discord/objects.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/discord/objects.cpp')
-rw-r--r--src/discord/objects.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/discord/objects.cpp b/src/discord/objects.cpp
index 1af32a7..0742dca 100644
--- a/src/discord/objects.cpp
+++ b/src/discord/objects.cpp
@@ -315,6 +315,8 @@ void to_json(nlohmann::json &j, const CreateMessageAttachmentObject &m) {
void to_json(nlohmann::json &j, const CreateMessageObject &m) {
j["content"] = m.Content;
j["flags"] = m.Flags;
+ j["mobile_network_type"] = m.MobileNetworkType;
+ j["tts"] = m.IsTTS;
JS_IF("attachments", m.Attachments);
JS_IF("message_reference", m.MessageReference);
JS_IF("nonce", m.Nonce);