mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 18:19:34 +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):
|
def get_args(self):
|
||||||
_, args = self.get_command()
|
_, args = self.get_command()
|
||||||
return args
|
return args.strip()
|
||||||
|
|
||||||
async def reply(self, text, parse_mode=None, disable_web_page_preview=None,
|
async def reply(self, text, parse_mode=None, disable_web_page_preview=None,
|
||||||
disable_notification=None, reply_markup=None) -> 'Message':
|
disable_notification=None, reply_markup=None) -> 'Message':
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue