diff --git a/telegram-bot-api/Client.cpp b/telegram-bot-api/Client.cpp index 5c507a5..dfbfedf 100644 --- a/telegram-bot-api/Client.cpp +++ b/telegram-bot-api/Client.cpp @@ -2183,6 +2183,7 @@ void Client::JsonMessage::store(JsonValueScope *scope) const { case td_api::messageSuggestProfilePhoto::ID: break; case td_api::messageBotWriteAccessAllowed::ID: + object("write_access_allowed", JsonEmptyObject()); break; default: UNREACHABLE(); @@ -10376,8 +10377,6 @@ bool Client::need_skip_update_message(int64 chat_id, const object_ptr