Global variables are parameters that you can reference when you create message templates. This reduces the need to configure the same parameters multiple times. You can add, edit, and delete global variables. This topic describes how to manage global variables.
Prerequisites
Alibaba Cloud account registration and enterprise identity verification have been completed.
Chat App Message Service has been activated.
You have created a channel.
Procedure
Log on to the Chat App Message Service console.
In the left navigation pane, click Channel Management.
On the Channel Management page, click a Channel ID or click Manage in the Actions column.
On the channel details page, choose Global Variable Management to open the global variable management page.
Add a global variable
After you add a global variable, you can reference it when you create or edit message templates for the current channel.
Click Add Variable.
On the Add Variable page, enter values for Variable Code, Variable Name, Variable Type, and Example as prompted.
Click OK.
Edit a global variable
Click the Edit button in the row for the variable that you want to edit.
On the Edit Variable page, modify the variable content.
Click OK.
Delete a global variable
Click the Delete button in the row for the variable that you want to delete.
On the deletion confirmation page, click OK.
Search for a global variable
On the Global Variable Management page, click the search box.
Enter the name of the variable that you want to find.
Click the Search icon.