Skip to content

Instantly share code, notes, and snippets.

@stek29
Last active November 7, 2024 23:27
Show Gist options
  • Save stek29/8a7ac0e673818917525ec4031d77a713 to your computer and use it in GitHub Desktop.
Save stek29/8a7ac0e673818917525ec4031d77a713 to your computer and use it in GitHub Desktop.
Extract Telegram messages from db_sqlite PostBox – made for Telegram for macOS, but should work with Telegram for iOS
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yunasc
Copy link

yunasc commented Feb 21, 2024

I wonder, is there a way to get tempkey on Windows?

@stek29
Copy link
Author

stek29 commented Mar 6, 2024

@yunasc what do you mean? there's only telegram desktop for windows, and it has no local database

@yunasc
Copy link

yunasc commented Mar 14, 2024

It has an encrypted sqlite DB. I'm using Unigram client which uses tdlib which has local database.

@VityaSchel
Copy link

You're lifesaver
saved my channel content from telegram who deleted it without warning and never responded to any of communication channels

@wirokemproh
Copy link

By running the script above, I can only find one participant of the conversation.
When it is outgoing, there is no information about the sender.
When it is incoming, there is no information about the recipient.
It seems that the information of the owner of the phone is not available.

How to get the account details of the owner?

@farzadmf
Copy link

Does anyone know by any chance if there's a way to know if the auto-delete feature is enabled in a chat/conversation or not?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment