mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Merge pull request #827 from CSRedRat/patch-1
Add handler decorator example
This commit is contained in:
commit
c5e5af96d1
@ -207,15 +207,15 @@ def send_something(message):
|
||||
|
||||
#### Edited Message handlers
|
||||
|
||||
Same as Message handlers
|
||||
@bot.edited_message_handler(filters)
|
||||
|
||||
#### channel_post_handler
|
||||
|
||||
Same as Message handlers
|
||||
@bot.channel_post_handler(filters)
|
||||
|
||||
#### edited_channel_post_handler
|
||||
|
||||
Same as Message handlers
|
||||
@bot.edited_channel_post_handler(filters)
|
||||
|
||||
#### Callback Query Handler
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user