atipugin / telegram-bot-ruby

Ruby wrapper for Telegram's Bot API
https://core.telegram.org/bots/api
Do What The F*ck You Want To Public License
1.35k stars 218 forks source link

[Message] Add `parse_mode` attribute #223

Closed kirov117 closed 1 year ago

kirov117 commented 3 years ago

As stated here: https://core.telegram.org/bots/api#sendmessage The message type seems to supports a parse_mode attribute that can be used for formatting text.

This was missing from lib/telegram/bot/types/message.rb.

atipugin commented 3 years ago

Hi @kirov117! Yeah, but parse_mode belongs to sendMessage method, not Message object.

github-actions[bot] commented 1 year ago

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.