Global variables are referenced in message templates to reduce repetitive parameter configuration. You can add, modify, delete, and search for global variables.
Prerequisites
Alibaba Cloud account registration and enterprise identity verification have been completed.
Chat App Message Service has been activated.
-
A channel is created.
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.
-
Click Global Variable Management in the left navigation pane.
Add a global variable
-
Click Add Variable.
-
In the dialog box, configure: Variable Code, Variable Name, Variable Type, and Example.
-
Click OK.
NoteYou can then reference this variable in message templates for the current channel.
Modify a global variable
-
Click Edit in the Actions column.
-
Modify the variable content.
-
Click OK.
Delete a global variable
-
Click Delete in the Actions column.
-
In the confirmation message, click OK.
Search for a global variable
-
On the Global Variable Management page, click the search box.
-
Enter a variable name.
-
Click the search icon.