docs: def send_custom_hsm(self, whatsapp_id, template_name, language, variables):
          """
          Sends an HSM with more customizable fields than the send_hsm function
          """
          data = {
              "to": whatsapp_id,
              "type": "hsm",
              "hsm": {
                  "namespace": self.hsm_namespace,
                  "element_name": template_name,
                  "language": {"policy": "deterministic", "code": language},
                  "localizable_params": [{"default": variable} for variable in variables],
              },
          }
  
          if self.ttl is not None:
              data["ttl"] = self.ttl
          response = self.session.post(
              urllib_parse.urljoin(self.api_url, "/v1/messages"), json=data
          )
          return self.return_response(response)