Skip to content

Commit

Permalink
Update async_telebot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
coder2020official committed Aug 13, 2022
1 parent ffb34da commit 20bdb54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telebot/async_telebot.py
Original file line number Diff line number Diff line change
Expand Up @@ -5039,7 +5039,7 @@ async def get_custom_emoji_stickers(self, custom_emoji_ids: List[str]) -> List[t
: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:
Expand Down

0 comments on commit 20bdb54

Please sign in to comment.