mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 10:11:52 +00:00
Strip args
This commit is contained in:
parent
1759fd9172
commit
5e93656b7a
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ class Message(Deserializable):
|
|||
|
||||
def get_args(self):
|
||||
_, args = self.get_command()
|
||||
return args
|
||||
return args.strip()
|
||||
|
||||
async def reply(self, text, parse_mode=None, disable_web_page_preview=None,
|
||||
disable_notification=None, reply_markup=None) -> 'Message':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue