mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +00:00
Remove unneeded method
This commit is contained in:
parent
e7258a341b
commit
94574efe2c
@ -45,10 +45,3 @@ class InlineQueryHandler(Handler):
|
||||
|
||||
def __init__(self, callback: callable, filters=None):
|
||||
super().__init__(callback, filters)
|
||||
|
||||
def check(self, callback_query):
|
||||
return (
|
||||
self.filters(callback_query)
|
||||
if callable(self.filters)
|
||||
else True
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user