mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-07 13:34:59 +03:00
style and typo fix
This commit is contained in:
parent
1921043870
commit
214a7466e0
|
@ -150,7 +150,7 @@ class InlineQuery(EventBuilder):
|
||||||
|
|
||||||
next_offset (`str`, optional):
|
next_offset (`str`, optional):
|
||||||
The offset the client will send when the user scrolls the
|
The offset the client will send when the user scrolls the
|
||||||
results and it repeates the request.
|
results and it repeats the request.
|
||||||
|
|
||||||
private (`bool`, optional):
|
private (`bool`, optional):
|
||||||
Whether the results should be cached by Telegram
|
Whether the results should be cached by Telegram
|
||||||
|
@ -169,7 +169,7 @@ class InlineQuery(EventBuilder):
|
||||||
|
|
||||||
if results:
|
if results:
|
||||||
results = [self._as_awaitable(x, self._client.loop)
|
results = [self._as_awaitable(x, self._client.loop)
|
||||||
for x in results]
|
for x in results]
|
||||||
|
|
||||||
done, _ = await asyncio.wait(results, loop=self._client.loop)
|
done, _ = await asyncio.wait(results, loop=self._client.loop)
|
||||||
results = [x.result() for x in done]
|
results = [x.result() for x in done]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user