Manually update persistence file #2834
-
Hi there, When a report is sent successfully a new value (i.e. My problem is that when a callback is triggered and Is there a way using library API to trigger pickle file update without "manually" writing the change in the pickle file? Thank you for the help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Probably I found the solution searching the documentation: |
Beta Was this translation helpful? Give feedback.
-
I want to know what is other choice for picklepersistence |
Beta Was this translation helpful? Give feedback.
Probably I found the solution searching the documentation:
PicklePersistence.flush()
seems not to work in my case butPicklePersistance.update_chat_data(chat_id, data)
works fine.