Skip to content

Manually update persistence file #2834

Answered by cavfiumella
cavfiumella asked this question in Q&A
Discussion options

You must be logged in to vote

Probably I found the solution searching the documentation:
PicklePersistence.flush() seems not to work in my case but PicklePersistance.update_chat_data(chat_id, data) works fine.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Bibo-Joshi
Comment options

Answer selected by cavfiumella
Comment options

You must be logged in to vote
1 reply
@Bibo-Joshi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants