Added auto-removal of applications in group

This commit is contained in:
2022-12-01 11:06:54 +01:00
parent 0fcd67d322
commit 97325b4ff5
4 changed files with 17 additions and 4 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(