apenasrr / clonechat

Clone all posts from the history of a Telegram Channel/Group to another Channel/Group.
MIT License
336 stars 85 forks source link

get only non blank id #14

Open Drrivao opened 1 year ago

Drrivao commented 1 year ago

It's possible to use get_chat_history() function to search for only existing messages and get its ids.

Drrivao commented 1 year ago

"[..] Methods invoked inside a takeout session (such as get_chat_history, download_media, …) are less prone to throw FloodWait exceptions."