diff --git a/README.md b/README.md index e6e11e0..c05292a 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,8 @@ The `User` object now has two new fields: In addition, the member list now shows the full bot list (previously only the bot that executed the query was shown) +The bot will now receive Updates for all received media, even if a destruction timer is set. + ## Installation diff --git a/telegram-bot-api/Client.cpp b/telegram-bot-api/Client.cpp index 1cce9d2..16ac177 100644 --- a/telegram-bot-api/Client.cpp +++ b/telegram-bot-api/Client.cpp @@ -8603,9 +8603,9 @@ bool Client::need_skip_update_message(int64 chat_id, const object_ptrttl_ > 0) { - return true; - } + //if (message->ttl_ > 0) { + // return true; + //} switch (message->content_->get_id()) { case td_api::messagePhoto::ID: {