title: Send WhatsApp Template message with Twilio
body: <p>In their docs, Twilio say that all I need to do in order to send a WhatsApp template message is to simply send the message, and they will recognize that it's a saved template message and use it:</p>
  <blockquote>
  <p>To send a templated message, include the full body of the message in
  the API call. Twilio will send the message as a templated message if
  it matches one of the approved templates.</p>
  </blockquote>
  <p>However, the example they give is by using their <code>Client</code> object (see the example <a href="https://www.twilio.com/docs/whatsapp/tutorial/send-whatsapp-notification-messages-templates" rel="nofollow noreferrer">here</a>).</p>
  <p>I don't use that object, in my WhatsApp bot I use <code>MessageResponse</code> like this:</p>
  <pre><code>def bot():
      ...
      resp = MessagingResponse()
      msg = resp.message()
      msg.body(some_text)
      return str(resp)
  </code></pre>
  <p>I tried changing <code>some_text</code> to the text that appears in my template message, but this doesn't work. Any ideas?</p>