diff --git a/aiogram/types/message.py b/aiogram/types/message.py index 0852bc8e..4c8ea295 100644 --- a/aiogram/types/message.py +++ b/aiogram/types/message.py @@ -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':