diff --git a/tg/handlers/action.py b/tg/handlers/action.py index c6df1ce..05baeb2 100644 --- a/tg/handlers/action.py +++ b/tg/handlers/action.py @@ -42,4 +42,4 @@ async def user_join_handler(message: Message, bot: Bot): async def migration_handler(message: Message, bot: Bot): old_id, new_id = message.chat.id, message.migrate_to_chat_id database.DB.chat_delete(bot.id, new_id) - database.DB.chat_update(bot.id, old_id, id=new_id) + database.DB.chat_update(bot.id, old_id, chat_id=new_id)