mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 20:59:29 +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
|
||||
# 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 types
|
||||
@ -27,7 +27,7 @@ class AnswerInlineQuery(Scaffold):
|
||||
async def answer_inline_query(
|
||||
self,
|
||||
inline_query_id: str,
|
||||
results: List["types.InlineQueryResult"],
|
||||
results: Iterable["types.InlineQueryResult"],
|
||||
cache_time: int = 300,
|
||||
is_gallery: bool = False,
|
||||
is_personal: bool = False,
|
||||
|
Loading…
Reference in New Issue
Block a user