mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Merge pull request #1666 from coder2020official/master
Update async_telebot.py
This commit is contained in:
commit
c95ba8c9c2
@ -5039,7 +5039,7 @@ class AsyncTeleBot:
|
||||
:return: Returns an Array of Sticker objects.
|
||||
:rtype: :obj:`list` of :class:`telebot.types.Sticker`
|
||||
"""
|
||||
result = asyncio_helper.get_custom_emoji_stickers(self.token, custom_emoji_ids)
|
||||
result = await asyncio_helper.get_custom_emoji_stickers(self.token, custom_emoji_ids)
|
||||
return [types.Sticker.de_json(sticker) for sticker in result]
|
||||
|
||||
async def upload_sticker_file(self, user_id: int, png_sticker: Union[Any, str]) -> types.File:
|
||||
|
Loading…
Reference in New Issue
Block a user