mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2025-01-04 16:45:48 +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)
|
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>
|
<a name="installation"></a>
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
@ -8603,9 +8603,9 @@ bool Client::need_skip_update_message(int64 chat_id, const object_ptr<td_api::me
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (message->ttl_ > 0) {
|
//if (message->ttl_ > 0) {
|
||||||
return true;
|
// return true;
|
||||||
}
|
//}
|
||||||
|
|
||||||
switch (message->content_->get_id()) {
|
switch (message->content_->get_id()) {
|
||||||
case td_api::messagePhoto::ID: {
|
case td_api::messagePhoto::ID: {
|
||||||
|
Loading…
Reference in New Issue
Block a user