Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Send message with backward timestamp using telethon in Telegram?

I have a .txt file with a chat history that has date, sender and content. I successfully imported chat history to my Telegram using telethon and TLImporter (https://github.com/TelegramTools/TLImporter). It sends all messages with current time.

WhatsApp chat history import works properly with backward timestamp. I want to simulate my chat history as whatsapp chat history and then is it possible to import messages with the date they were sent and they should be shown in telegram in that dates (it is in .txt file and obviously conversation was in past)? If so, how?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

It isn’t possible to import messages via third party tools like the one you linked, as messages cannot be sent with a timestamp in the past.

Only Telegrams own tool can do this, as they can just set the message timestamp according to the import, but backdating isnt possible from the user.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading