2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-29 05:18:10 +00:00

Remove unneeded method

This commit is contained in:
Dan 2019-04-30 10:33:11 +02:00
parent e7258a341b
commit 94574efe2c

View File

@ -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
)