1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00
This commit is contained in:
_run 2021-09-25 22:19:09 +05:00
commit ab648ef3db

View File

@ -242,7 +242,7 @@ Handle edited channel post messages
Handle callback queries
```python
@bot.callback_query_handler(func=lambda call: True)
def test_callback(call): # <- passes a CallbackQuery type object to your function
def test_callback(call): # <- passes a CallbackQuery type object to your function
logger.info(call)
```