Minor improvements
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
from pyrogram.client import Client
|
||||
from pyrogram.types import (
|
||||
InlineQuery,
|
||||
InlineQueryResultArticle,
|
||||
@@ -8,7 +7,7 @@ from pyrogram.types import (
|
||||
from classes.pyroclient import PyroClient
|
||||
|
||||
|
||||
@Client.on_inline_query() # type: ignore
|
||||
@PyroClient.on_inline_query() # type: ignore
|
||||
async def inline(app: PyroClient, inline_query: InlineQuery):
|
||||
await inline_query.answer(
|
||||
results=[
|
||||
|
Reference in New Issue
Block a user