show non-lottie stickers statically

This commit is contained in:
ouwou
2020-11-02 17:36:10 -05:00
parent 8efa202458
commit b97722e937
7 changed files with 82 additions and 0 deletions

View File

@@ -109,6 +109,7 @@ void from_json(const nlohmann::json &j, Message &m) {
// JS_O("application", m.Application);
// JS_O("message_reference", m.MessageReference);
JS_O("flags", m.Flags);
JS_O("stickers", m.Stickers);
}
void Message::from_json_edited(const nlohmann::json &j) {
@@ -130,6 +131,7 @@ void Message::from_json_edited(const nlohmann::json &j) {
JS_O("webhook_id", WebhookID);
JS_O("type", Type);
JS_O("flags", Flags);
JS_O("stickers", Stickers);
}
void Message::SetDeleted() {