Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to change font size for telegram bot?

Tags:

telegram-bot

I have a telegram bot and want to send text in a bigger font. How is it possible to do so using node.js?

like image 496
Niharika Sachdev Avatar asked Oct 26 '25 04:10

Niharika Sachdev


1 Answers

There is limited support of HTML and Markup in Telegram, but it is not possible to increase the font size. See Formatting Options.

One option is to use bold and italic to achieve a nice formatting (see example in Python)

update.message.reply_text('Some *boldtext*' and some _italictext_',
                          parse_mode=telegram.ParseMode.MARKDOWN)
like image 198
Beppe C Avatar answered Oct 29 '25 08:10

Beppe C



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!