mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Merge branch 'master' of https://github.com/coder2020official/pyTelegramBotAPI
This commit is contained in:
commit
ab648ef3db
@ -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)
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user