mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Update a typo
This commit is contained in:
parent
967b94b14f
commit
9287eced49
@ -242,7 +242,7 @@ Handle edited channel post messages
|
|||||||
Handle callback queries
|
Handle callback queries
|
||||||
```python
|
```python
|
||||||
@bot.callback_query_handler(func=lambda call: True)
|
@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)
|
logger.info(call)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user