bugraoz93 commented on code in PR #55294:
URL: https://github.com/apache/airflow/pull/55294#discussion_r2325424296
##########
providers/telegram/src/airflow/providers/telegram/hooks/telegram.py:
##########
@@ -156,6 +156,12 @@ def send_message(self, api_params: dict) -> None:
if kwargs.get("chat_id") is None:
raise AirflowException("'chat_id' must be provided for telegram
message")
+ if kwargs["parse_mode"] == telegram.constants.ParseMode.HTML:
Review Comment:
Thanks a lot for the PR! Could you please include unit test cases for the
new logic?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]