mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-12-28 21:55:51 +01:00
Merge pull request #8 from code1mountain/self_destruct
Receive Updates for self destructing media
This commit is contained in:
commit
20155346c2
@ -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.
|
||||
|
||||
<a name="installation"></a>
|
||||
## Installation
|
||||
|
||||
|
@ -8603,9 +8603,9 @@ bool Client::need_skip_update_message(int64 chat_id, const object_ptr<td_api::me
|
||||
}
|
||||
}
|
||||
|
||||
if (message->ttl_ > 0) {
|
||||
return true;
|
||||
}
|
||||
//if (message->ttl_ > 0) {
|
||||
// return true;
|
||||
//}
|
||||
|
||||
switch (message->content_->get_id()) {
|
||||
case td_api::messagePhoto::ID: {
|
||||
|
Loading…
Reference in New Issue
Block a user