Mohammad Hossein Mohammad Hossein - 1 year ago 708
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

Answer Source

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.