mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-06 15:14:52 +00:00
Remove unneeded method
This commit is contained in:
parent
e7258a341b
commit
94574efe2c
1 changed files with 0 additions and 7 deletions
|
|
@ -45,10 +45,3 @@ class InlineQueryHandler(Handler):
|
||||||
|
|
||||||
def __init__(self, callback: callable, filters=None):
|
def __init__(self, callback: callable, filters=None):
|
||||||
super().__init__(callback, filters)
|
super().__init__(callback, filters)
|
||||||
|
|
||||||
def check(self, callback_query):
|
|
||||||
return (
|
|
||||||
self.filters(callback_query)
|
|
||||||
if callable(self.filters)
|
|
||||||
else True
|
|
||||||
)
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue