The application management module of the interactive messaging feature allows you to create an application to implement interactive messaging. The ID of the application is a unique identifier in interactive messaging. This topic describes how to create an interactive messaging application.
Usage notes
By default, messages in an interactive messaging group are stored for 30 days. You can set the retention period to 90 or 180 days when you create an interactive messaging application. Messages are automatically deleted once expired.
If you do not configure a callback URL for events such as logon, logoff, joining a group, and leaving a group, callbacks are disabled. For more information about the callback format and authentication logic, see CreateLiveMessageApp.
Create an application
Log on to the ApsaraVideo Live console.
In the left-side navigation pane, choose . The Applications page appears.
Click Create Application.
In the Create Application dialog box, configure the following parameters based on your business requirements.
Parameter
Description
Region
Select the region in which the application is deployed. Valid values: China (Shanghai) and Singapore.
Application Name
The name of the application. The name must be 2 to 16 characters in length.
Message Retention Period
The retention period of the group messages in the application. Valid values: 30, 90, and 180 days.
Callback Settings
By default, Callback Settings is turned off. If you turn on Callback Settings, enter a callback URL in the Callback URL field. For more information about the format of a callback URL, see CreateLiveMessageApp.
Callback URL
Content Moderation
By default, Content Moderation is turned off. If you turn on Content Moderation, select one of the following moderation methods:
Built-in Content Moderation
Custom Content Moderation: If you select this method, enter a moderation URL. For more information about the format of custom content moderation, see Custom content moderation.
Moderation Method
Click Create. The application is created and added to the application list. The information about the application, such as the application ID, AppKey, AppSign, and creation time, is automatically generated.
Manage applications
Modify application settings
On the Applications page, find the application for which you want to modify the settings and click View Details in the Actions column.
In the panel that appears, click Modify in the Application Configuration section.
In the Change Settings dialog box, configure the parameters, and then click Modify to save the changes.
For information about the parameters, see the preceding section.
Delete an application
On the Applications page, find the application that you want to delete and click Delete in the Actions column.
In the dialog box that appears, click Delete. The deletion operation cannot be undone. Proceed with caution.
Disable an application
On the Applications page, find the application that you want to disable and click Disable in the Actions column.
In the dialog box that appears, click Disable.