inline for everyone
This commit is contained in:
parent
1a63d9424a
commit
8ee9b050ef
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class Bot:
|
||||||
|
|
||||||
def is_allowed(self, update, context):
|
def is_allowed(self, update, context):
|
||||||
if update.inline_query:
|
if update.inline_query:
|
||||||
return update.effective_user.id in self.channels
|
return True
|
||||||
return update.effective_chat.id in self.channels
|
return update.effective_chat.id in self.channels
|
||||||
|
|
||||||
def start(self):
|
def start(self):
|
||||||
|
|
Loading…
Reference in a new issue