mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-30 17:59:55 +03:00
try mimicking BOT API 🙈
This commit is contained in:
parent
a886d609d9
commit
4de73541f4
|
@ -177,7 +177,10 @@ 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 repeats the request.
|
results and it repeats the request. Pass an empty string
|
||||||
|
if there are no more results or
|
||||||
|
if you don't support pagination.
|
||||||
|
Offset length can't exceed 64 bytes.
|
||||||
|
|
||||||
private (`bool`, optional):
|
private (`bool`, optional):
|
||||||
Whether the results should be cached by Telegram
|
Whether the results should be cached by Telegram
|
||||||
|
@ -231,7 +234,7 @@ class InlineQuery(EventBuilder):
|
||||||
results=results,
|
results=results,
|
||||||
cache_time=cache_time,
|
cache_time=cache_time,
|
||||||
gallery=gallery,
|
gallery=gallery,
|
||||||
next_offset=next_offset,
|
next_offset=next_offset or None,
|
||||||
private=private,
|
private=private,
|
||||||
switch_pm=switch_pm
|
switch_pm=switch_pm
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user