code: def test_should_return_templatized_text_field(self, mock_hook):
      operator = TelegramOperator(
          telegram_conn_id="telegram_default",
          chat_id="-420913222",
          task_id="telegram",
          text="execution date is {{ ds }}",
          telegram_kwargs={
              "custom_arg": "value",
              "text": "should be ignored",
          },
      )
      operator.render_template_fields({"ds": "2021-02-04"})
  
      operator.execute(None)
      assert operator.text == "execution date is 2021-02-04"
      assert "text" in operator.telegram_kwargs
      assert (
          operator.telegram_kwargs["text"]
          == "execution date is 2021-02-04"
      )
  
file_path: airflow/tests/providers/telegram/operators/test_telegram.py
imports: from __future__ import annotations
  from unittest import mock
  import pytest
  import telegram
  import airflow
  from airflow.models import Connection
  from airflow.providers.telegram.operators.telegram import TelegramOperator
  from airflow.utils import db
label_desc: Use image node_id 8 for calling the TestTelegramOperator obj's underlying member method code with example usage: obj.test_should_return_templatized_text_field(mock_hook) without return types