eternnoir / pyTelegramBotAPI

Python Telegram bot api.
GNU General Public License v2.0
8.02k stars 2.02k forks source link

i use the last version of pyTelegramBotAPI, Windows 10 and my python is 3.6 version. How can I make a bold font? #327

Closed tokelau closed 7 years ago

tokelau commented 7 years ago

Please answer these questions before submitting your issue. Thanks!

  1. What version of pyTelegramBotAPI are you using?

  2. What OS are you using?

  3. What version of python are you using?

Kylmakalle commented 7 years ago

Just use parse_mode parameter with the correct text formatting

For example: bot.send_message(chat.id, '*bold text* _italic text_, parse_mode='Markdown') And you will get a message: bold text italic text

tokelau commented 7 years ago

Thanks, it helped)

Kjuyf commented 5 months ago

Thanks it helped me...