This commit is contained in:
Profitroll
2022-12-04 11:28:02 +01:00
4 changed files with 132 additions and 14 deletions

View File

@@ -11,7 +11,7 @@ from modules.utils import configGet, jsonLoad, locale
@app.on_inline_query()
async def inline_answer(client, inline_query):
if inline_query.chat_type not in [ChatType.BOT, ChatType.PRIVATE]:
if inline_query.chat_type in [ChatType.CHANNEL]:
await inline_query.answer(
results=[
InlineQueryResultArticle(