display interaction responses (again)

This commit is contained in:
ouwou
2021-04-04 04:09:56 -04:00
parent a933a0ca27
commit 6f1013d146
9 changed files with 174 additions and 28 deletions

View File

@@ -217,6 +217,7 @@ void from_json(const nlohmann::json &j, Message &m) {
} else
m.ReferencedMessage = nullptr;
}
JS_O("interaction", m.Interaction);
}
void Message::from_json_edited(const nlohmann::json &j) {
@@ -242,6 +243,7 @@ void Message::from_json_edited(const nlohmann::json &j) {
JS_O("message_reference", MessageReference);
JS_O("flags", Flags);
JS_O("stickers", Stickers);
JS_O("interaction", Interaction);
}
void Message::SetDeleted() {