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 send account is created, and the account is bound or authorized.
Procedure
Log on to the Chat App Message Service console.
In the left-side navigation pane, choose OTT Service from the OTT Service menu and click the name of a send account.
On the send account details page, click Global Variable Management.
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.