Added empty callback
This commit is contained in:
parent
aebe804b58
commit
c1ee988106
11
modules/callbacks/nothing.py
Normal file
11
modules/callbacks/nothing.py
Normal file
@ -0,0 +1,11 @@
|
||||
from app import app
|
||||
from pyrogram import filters
|
||||
from pyrogram.types import CallbackQuery
|
||||
from pyrogram.client import Client
|
||||
from modules.utils import locale
|
||||
|
||||
# Callback empty ===============================================================================================================
|
||||
@app.on_callback_query(filters.regex("nothing"))
|
||||
async def callback_query_nothing(app: Client, clb: CallbackQuery):
|
||||
await clb.answer(text=locale("nothing", "callback", locale=clb.from_user))
|
||||
# ==============================================================================================================================
|
Reference in New Issue
Block a user