mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 12:57:52 +00:00
Fix inline query results typing (#958)
This commit is contained in:
parent
acc2c72d6d
commit
7a5ab4bffa
@ -16,7 +16,7 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public License
|
# You should have received a copy of the GNU Lesser General Public License
|
||||||
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
|
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from typing import List
|
from typing import Iterable
|
||||||
|
|
||||||
from pyrogram import raw
|
from pyrogram import raw
|
||||||
from pyrogram import types
|
from pyrogram import types
|
||||||
@ -27,7 +27,7 @@ class AnswerInlineQuery(Scaffold):
|
|||||||
async def answer_inline_query(
|
async def answer_inline_query(
|
||||||
self,
|
self,
|
||||||
inline_query_id: str,
|
inline_query_id: str,
|
||||||
results: List["types.InlineQueryResult"],
|
results: Iterable["types.InlineQueryResult"],
|
||||||
cache_time: int = 300,
|
cache_time: int = 300,
|
||||||
is_gallery: bool = False,
|
is_gallery: bool = False,
|
||||||
is_personal: bool = False,
|
is_personal: bool = False,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user