try mimicking BOT API 🙈

This commit is contained in:
Shrimadhav U K 2021-01-26 21:41:27 +05:30 committed by GitHub
parent a886d609d9
commit 4de73541f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
) )