Answer the question
In order to leave comments, you need to log in
How to send a clickable message via Telegram Bot API?
You need to send a clickable message through Bota Telegram. (This is done by escaping the text with a backtick (URL code - %60)
curl -s -X POST https://api.telegram.org/bot"$bot_api"/sendMessage -d chat_id="$tg2id" -d text=" Был создан ключ Shadowsocks %0A Сервер: $backup_serv_id %0A Никнейм: ${ssr_user} %0A Порт: ${ssr_port} %0A Ключ: %60${ss_link}%60"
Answer the question
In order to leave comments, you need to log in
The `sendMessage` handle has a `parse_mode` parameter, you need to pass `MarkdownV2` https://core.telegram.org/bots/api#sendmessage
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question