mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-21 22:56:38 +01:00
Corrected a link to "Making your bot persistent" page
parent
91fe641b21
commit
7ae19a964f
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ With PTB, you are able to pass *any* object as `callback_data`. This is achieved
|
|||
|
||||
This means two things for you:
|
||||
|
||||
1. If you don't use [persistence](../Making-your-bot-persistent), buttons won't work after restarting your bot, as the stored updates are lost. More precisely, the `callback_data` you will receive is an instance of `telegram.ext.InvalidCallbackData`. If you don't need persistence otherwise, you can set `store_callback_data` to `True` and all the others to `False`.
|
||||
1. If you don't use [persistence](../wiki/Making-your-bot-persistent), buttons won't work after restarting your bot, as the stored updates are lost. More precisely, the `callback_data` you will receive is an instance of `telegram.ext.InvalidCallbackData`. If you don't need persistence otherwise, you can set `store_callback_data` to `True` and all the others to `False`.
|
||||
2. If you have a number of keyboards that need to stay valid for a very long time, you might need to do some tweaking manually (see below)
|
||||
3. When using the `CallbackQueryHandler`, the `pattern` argument can now be either
|
||||
|
||||
|
|
Loading…
Reference in a new issue