From afd30f2cfa2bee1cf61e7e2cea391b0e726cf81f Mon Sep 17 00:00:00 2001 From: levlam Date: Mon, 24 Jul 2023 16:14:03 +0300 Subject: [PATCH] Support messageStory as empty objects. --- telegram-bot-api/Client.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/telegram-bot-api/Client.cpp b/telegram-bot-api/Client.cpp index 24345a6..685b8ac 100644 --- a/telegram-bot-api/Client.cpp +++ b/telegram-bot-api/Client.cpp @@ -2305,6 +2305,7 @@ void Client::JsonMessage::store(td::JsonValueScope *scope) const { case td_api::messageChatSetBackground::ID: break; case td_api::messageStory::ID: + object("story", JsonEmptyObject()); break; default: UNREACHABLE(); @@ -11199,8 +11200,6 @@ bool Client::need_skip_update_message(int64 chat_id, const object_ptr