mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
add Poll, sendPoll, stopPoll
This commit is contained in:
parent
b10e45f714
commit
3a1bdc2899
@ -1757,3 +1757,11 @@ class AsyncTeleBot(TeleBot):
|
||||
@util.async_dec()
|
||||
def delete_sticker_from_set(self, *args, **kwargs):
|
||||
return TeleBot.delete_sticker_from_set(self, *args, **kwargs)
|
||||
|
||||
@util.async_dec()
|
||||
def send_poll(self, *args, **kwargs):
|
||||
return TeleBot.send_poll(self, *args, **kwargs)
|
||||
|
||||
@util.async_dec()
|
||||
def stop_poll(self, *args, **kwargs):
|
||||
return TeleBot.stop_poll(self, *args, **kwargs)
|
||||
|
Loading…
Reference in New Issue
Block a user