def METHOD_NAME(self, msg: RPCSendMsg) -> None:
    """ Send a message to telegram channel """
    try:
        valuedict = self._get_value_dict(msg)
        if not valuedict:
            logger.info("Message type '%s' not configured for webhooks", msg['type'])
            return
        payload = {key: value.format(**msg) for (key, value) in valuedict.items()}
        self._send_msg(payload)
    except KeyError as exc:
        logger.exception("Problem calling Webhook. Please check your webhook configuration. "
                         "Exception: %s", exc)