Mohammad Hossein Mohammad Hossein - 3 months ago 114x
HTML Question

send bold & italic text on telegram bot with html

i create a bot in telegram

i want send bold & italic text with html page to bot

html code:

<form method="GET" action="">
<input type="hidden" name="chat_id" value="@testadminch">
<input type="hidden" name="parse_mod" value="markdown">
<textarea name="text"></textarea>
<input type="submit" value="Submit">

if send
to bot output should is bold

but dont work

please help me :)

sorry for my bad english


There are two possibilities to get: bold

  1. Set the parse_mode to markdown and send *bold*
  2. Set the parse_mode to html and send <b>bold<b>

And it's called parse_mode with an e.