mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fixed bug with wrong message
This commit is contained in:
parent
e011d103c0
commit
16beafdc78
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ class TelegramMigrateToChat(TelegramAPIError):
|
|||
if chat_id := getattr(method, "chat_id", None):
|
||||
description += f" from {chat_id}"
|
||||
description += f"\nOriginal description: {message}"
|
||||
super().__init__(method=method, message=message)
|
||||
super().__init__(method=method, message=description)
|
||||
self.migrate_to_chat_id = migrate_to_chat_id
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue