This topic describes how to send messages in the Chat App Message Service console.
Prerequisites
Alibaba Cloud account registration and enterprise authentication.
You have activated the Chat App Message Service.
A channel is created and is bound to an account or authorized to use an account.
A message template is created and approved.
To use the fallback feature, make sure that the following prerequisites are met:
Short Message Service (SMS) is activated. For more information, see Short Message Service.
A fallback policy is created. For more information, see Create and manage an SMS fallback policy.
Procedure
Log on to the Chat App Message Service console.
In the left-side navigation pane, click Channel management.
On the Channel management page, click a channel ID or click Management in the Operation column that corresponds to the desired channel.
On the page that appears, click Send message in the left-side navigation pane.
Specify the required parameters as prompted.
The following table describes the required parameters.
Parameter
Description
Send language
Select the language to be used in the message.
Send message
Select the approved message template.
Send account
Select the account that is used to send the message.
Send type
Set the Send type parameter to Timing Send or Immediately.
Select Timing Send to set a scheduled time to send the message.
Select Immediately to immediately send the message.
Fallback strategy
Select an SMS message fallback policy and enter the SMS message content.
None: Fallback is not required.
Select a created fallback policy.
NoteTo configure a fallback policy, turn on SMS service on the Service settings page first. If SMS service is not turned on, you cannot configure a fallback policy.
A fallback is triggered when a fallback policy is configured and a message is not delivered or fails to be sent. A fallback can be triggered when a message fails to be sent because the message template is deleted or the parameters of the message fail to pass the verification.
Import method
Select a method used to import the phone numbers that can receive this message.
Number group import
Click Add number and add the phone numbers that can receive this message.
EXCEL Upload
Click Download template and enter phone numbers to receive messages based on the sample template.
Click Upload file to upload the file that contains phone numbers to receive the message.
NoteIf you do not select a message template, Download template is unavailable. After you select a message template, Download template becomes available.
If the message template contains variables, click EXCEL Upload to import phone numbers to receive the message. The header of the file cannot be modified in case the system cannot recognize variable parameters.
Variable shared
If you select EXCEL Upload for the Import method parameter, you can specify whether all phone numbers that receive the message receive the same variable.
Yes
All phone numbers that receive the message receive the same variable.
No
Phone numbers that receive the message receive different variables.
NoteThe template that you download varies based on the value of the Variable shared parameter. If you want different phone numbers to receive different variables, set the Variable shared parameter to No.
Click Send.
You can view the message sending details on the Message list page. For more information, see Message list.
References
WhatsApp
Viber
Facebook Messenger
Instagram