Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to export chat history in to the text? #286

Open
fastchain opened this issue Aug 8, 2022 · 0 comments
Open

How to export chat history in to the text? #286

fastchain opened this issue Aug 8, 2022 · 0 comments

Comments

@fastchain
Copy link

fastchain commented Aug 8, 2022

Hello!
I would like to export chat history from sqlite database in to the text file, is there any built in tool for this? If no, what is the key for the sqlite database because it seems to be encrypted?

# the key in config is not set  tg/config.py: ENC_KEY = ""

tg_data/database# sqlcipher db.sqlite
SQLite version 3.39.2 2022-07-21 15:24:47 (SQLCipher 4.5.2 community)
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> pragma key="";   
sqlite> .tables
Error: file is not a database
sqlite> 

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant