text=f"{mention}",
, он, в свою очередь, просто строка с никнеймом. Кликабельная ссылка в формате HTML была бы что-то типа <a href="tg://user?id=user_id">link text</a>
И то, в документации пишут:Linkstg://user?id=<user_id>
can be used to mention a user by their identifier without using a username. Please note:
These links will work only if they are used inside an inline link or in an inline keyboard button. For example, they will not work, when used in a message text.
Unless the user is a member of the chat where they were mentioned, these mentions are only guaranteed to work if the user has contacted the bot in private in the past or has sent a callback query to the bot via an inline button and doesn't have Forwarded Messages privacy enabled for the bot.
Не нашёл сходу, как можно отключить одно из встроенных правил.
Отчего бы просто не игнорировать зачёркивание устаревшего метода, раз так хочется программировать клинописью.