1 parent acc2c72 commit 7a5ab4bCopy full SHA for 7a5ab4b
1 file changed
pyrogram/methods/bots/answer_inline_query.py
@@ -16,7 +16,7 @@
16
# You should have received a copy of the GNU Lesser General Public License
17
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
18
19
-from typing import List
+from typing import Iterable
20
21
from pyrogram import raw
22
from pyrogram import types
@@ -27,7 +27,7 @@ class AnswerInlineQuery(Scaffold):
27
async def answer_inline_query(
28
self,
29
inline_query_id: str,
30
- results: List["types.InlineQueryResult"],
+ results: Iterable["types.InlineQueryResult"],
31
cache_time: int = 300,
32
is_gallery: bool = False,
33
is_personal: bool = False,
0 commit comments