laravel-notification-channels / telegram

✈️ Telegram Notifications Channel for Laravel
https://laravel-notification-channels.com/telegram/
MIT License
990 stars 165 forks source link

Expand TelegramMessage class #194

Closed IvanovPavel closed 1 month ago

IvanovPavel commented 7 months ago

Could you add an extra parameter for the class TelegramMessage for parse_mode? At this moment, in the documentation, you can use MarkdownV2, but your code may not support it.

Thanks in advance.

Samoylenko666 commented 5 months ago

You can use escapedLine() method maybe this will help

irazasyed commented 1 month ago

parseMode() is already supported. You may use the ParseMode enum to switch to one of the 3 supported ones. Refer docs.