setMyCommands
— true
.chat_id: -1001901111111, type: "supergroup"
(часть цифр chat_id заменил) "молния"
a1 b1 c1 ; a2 b2 c2 ; a3 b3 c3 ; a4 b4 c4 ; a5 b5 c5 ; a6 b6 c6
с промисом в А1
a1 b1 c1 ; b2 c2 ; b3 c3 a2 ; b4 c4 a3 ; b5 c5 a4 ; b6 c6 a5 ; a6
1 3 (ресолв промиса) 4 2 5 6
return new Promise..
, последовательность становится 1 3 2 4 5 6
– на 2 таска меньше у первой цепочки. 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.