Template messages are HSM(Highly Structured Messages) as WhatsApp calls them. It is used for sending out transactional notifications to users.
A customer must be opted-in to receive a template message. You can opt-in a user with the help of any of the five opt-in mechanisms provided by Gupshup.
See our API document on how you can send different types of templates to users.