Replies: 2 comments 5 replies
-
Jobs are not connected to a chat unless you set chat_id when creating it. |
Beta Was this translation helpful? Give feedback.
-
Some comments:
|
Beta Was this translation helpful? Give feedback.
-
I have a task to notify some bot users about today birthdays among of all bot users. So in main() i start the job:
Callback looks like:
Next step is a click of inlineButton "verbose_button" It should show detailed information about birthday person, which i expect to be in "context.chat_data"
But "context.chat_data" is empty.
I supposed "application.chat_data" is a pointer to dict and i can change it. In fact it just local variable. How can i change the "chat_data" from callback of job queue task?
Beta Was this translation helpful? Give feedback.
All reactions