Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(telegram): passing ParseMode when sending message #4027

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ntk148v
Copy link
Contributor

@ntk148v ntk148v commented Sep 9, 2024

Before commit [1], the message parse mode value is the same as bot parse mode. Therefore, we don't need to pass ParseMode whenever sending message. But after that commit, if we don't pass SendOpts's ParseMode, the library will use the default mode which is empty string "", and HTML tags aren't parsed.

[1] tucnak/telebot@864bef4

Close-Issue: #4026

Before commit [1], the message parse mode value is the same
as bot parse mode. Therefore, we don't need to pass ParseMode
whenever sending message. But after that commit, if we don't
pass SendOpts's ParseMode, the library will use the default
mode which is empty string "".

[1] tucnak/telebot@864bef4

Signed-off-by: Kien Nguyen <[email protected]>
@AzureLeMoon
Copy link

@grobinson-grafana @simonpasquier hey there, would you be so kind to review this pr and merge it if everything is in order? would be much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants