mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
#238 Fixed getting deep_link not by pattern
This commit is contained in:
parent
746eead0da
commit
768407eb95
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ class CommandStart(Command):
|
|||
payload = decode_payload(message.get_args()) if self.encoded else message.get_args()
|
||||
|
||||
if not isinstance(self.deep_link, typing.Pattern):
|
||||
return payload == self.deep_link
|
||||
return False if payload != self.deep_link else {'deep_link': payload}
|
||||
|
||||
match = self.deep_link.match(payload)
|
||||
if match:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue