Pull to refresh
6
0
Дмитрий Гусев @sw1tch3roo

Avito Software Engineer

Send message


Да, абсолютно все действия пользователей / администраторов группы / канала сохраняются в логах (в нашем же случае абсолютно все удаленные данные) на 48 часов:

Both supergroups and channels offer a so-called admin log, a log of recent relevant supergroup and channel actions, like the modification of group/channel settings or information on behalf of an admin, user kicks and bans, and more.

Описанная в статье утилита выгружает эти сообщения как раз из admin log, используя метод итерации по журналу логирования из библиотеки Telethon:

Iterator over the admin log for the specified channel. The default order is from the most recent event to to the oldest.

Note that you must be an administrator of it to use this method.

Да, ты прав! Но в таком случае проблема только в сложности ориентироваться в диапазоне id'шников сообщений, чтобы разделить ответственность:(

P.S. хотя, в целом, и не так трудно. Можно по медиа как раз ориентироваться, их легче скроллить и искать по датам и разделить диапазон между каждым админом. Звучит как план)

На восстановление удаленного контента никогда не было ограничения на 48 часов.

Официальная документация Telegram говорит следующее:

Deleting the wrong chat is rarely fun – but now you'll have a chance to reconsider.

When you delete a chat or clear chat history, you'll get a detailed confirmation dialog and an option to restore the chat within the next 5 seconds. Once the time is up, the chat is irretrievably lost in the jaws of Telegram’s underground data shredders.

If you relied on “I accidentally deleted the chat with my homework” in your studies, please accept our apologies. From now on, you'll have to blame your digital dog.

Information

Rating
Does not participate
Location
Москва, Москва и Московская обл., Россия
Works in
Registered
Activity

Specialization

Frontend Developer
Senior
From 1,000,000 $
JavaScript
TypeScript
React
Vue.js
Redux
Webpack
Effector
Storybook
Jest
Cypress