# Template message
WeChat 6.5.2 and above support
Please note that the Mini Program template message interface will be offline on January 10, 2020.Subscription Message Features
Based on WeChat's notification channel, we provide developers with template messaging capabilities that can efficiently reach users, in order to close the service and provide a better experience.
- Template Push Location: Service Notification
- Template issued conditions: the user himself in the WeChat system with the page after the interaction behavior triggered, see [Instructions on Conditions](#Instructions on Conditions)
- Template jump ability: click to see details can only jump to the template issued by the various pages of the account
# Instructions
# Step 1: Get the template ID
There are two ways to get the template ID:
- Get templates through the template message management interface ID (see [Template message management](#Template message management))
- Manually configure the template on WeChat Official Platform ID
log in https://mp.weixin.qq.com Get the template, if there is no suitable template, you can apply to add a new template, after the approval can be used, see [Template Audit Instructions](#Audit explaination)
# Step 2: The page form Components, Properties report-submit
for true
You can declare that you want to send a template message, and click the button to submit the form to get the formId
, for sending template messages. Or when the user is done Payment behavior, can be obtained prepay_id
Used to send template messages.
# Step 3: Call the interface to issue a template message (see templateMessage.send )
Use effect
# Template message management
- Get a list of Mini Program template library titles
- Get the template library Keyword library under a template title
- Combine templates and add to the personal template library under the account
- Get a list of existing templates under the account
- Delete a template under the account
# Instructions on Conditions
# 1. Pay
When the user has completed the payment behavior in the Mini Program, the developer can be allowed to push a limited number of template messages to the user within 7 days (1 payment can be issued 3, multiple payments can be issued independently, without affecting each other)
# 2. Submit Form
When the user has submitted a form within the Mini Program and the form is declared to send a template message, the developer needs to provide a service to the user. Allows developers to push a limited number of template messages to the user within 7 days (1 submission form can be issued 1, multiple submissions are independent and do not affect each other)
# Audit explaination
# 1. title
- The title cannot be the same.
- The title cannot be too similar.
- Title must end with "Reminder" or "Notice"
- The title should not contain special symbols, personalized words and other content that is not common to the industry.
- The title must reflect the specific service scenario
- The title must not involve marketing related content, including but not limited to: consumer preferences, shopping rebates, product updates, coupons, vouchers, red envelopes, membership cards, points, activities and other marketing trends notice
# 2. keyword
- Under the same title, keywords cannot be the same.
- Under the same title, keywords cannot be overly similar.
- Keywords can not be with special symbols, personalized words and other content that does not have industry commonality
- Keyword content examples must match the keyword correspondence
- Keywords should not be too broad and should be restrictive. For example, "content" is too broad and cannot be approved.
# Dxplaination of violations
In addition to not violating the Operating Code, you must not violate the following rules, including but not limited to:
- Do not allow malicious inducement of users to trigger operations, in order to achieve the purpose of issuing templates to users
- Do not allow malicious harassment, issued to the user harassment template
- Do not allow malicious marketing, issued marketing purpose template
# Dxplaination of punishment
According to the violation of the corresponding gradient of punishment, the general rules of punishment are as follows:
- First violation, remove the violation template as a warning,
- Second infraction, seven days off the interface,
- Third infraction, 30 days off the interface,
- Fourth infraction, permanently blocking the interface
Punishment results and reasons in the form of a station letter