Manage lightweight push messages

更新时间:
复制 MD 格式

By default, the lightweight message record list displays the message history from the last 30 days. This list only shows messages pushed from the console. To find the details of lightweight push messages triggered by API calls, you can search by device ID, user ID, or custom message ID.

View push details

  1. Log on to the mPaaS console, select the target application, and then choose Message Push > Message Management > Lightweight Message Records from the navigation pane on the left.

  2. In the search box in the upper-right corner of the Lightweight Message Records page, enter a full device ID, user ID, or custom message ID to search for messages. The message list displays the corresponding search results.

    Note

    You can query only lightweight push messages sent within the last 30 days.

    By default, messages in the list are sorted by creation time in descending order. The list includes the following information:

    • Custom message ID: A unique message identifier that is either specified by the user or generated by the system.

    • Message Push Time: The time at which the message is pushed, accurate to the second.

    • Push Time: The options are Immediately, Scheduled, and Loop.

    • Push Dimension: The dimension used to target the push, such as by user, iOS device, Android device, or HarmonyOS device.

    • Target ID: The specific user ID or device ID.

    • Push Title: The title of the message.

    • Push Status: The status of the push, such as Succeeded or Failed. For more information about each status code, see Push Status Codes.

  3. In the list, click the expand button (+) next to a message to view its push details. The details include the following:

    • Message ID: The unique identifier for the message in MPS. It is either defined by the user or automatically generated by the system.

    • Offline Retention Period: The validity period of the message. If the message has not yet been delivered, MPS will deliver it when the target device comes online or the user initiates a binding request. MPS will not deliver the message after it expires.

    • Display Type: The display type of the message, such as small text, large text, or rich media.

    • Extended Parameters: The extended parameters that were added when the message was created.

    • Message Content: The body of the message.

Revoke messages

You can revoke messages that have been successfully pushed. Only messages pushed within the last 7 days can be revoked. For more information about message revocation, see the Message Revocation document.

For silent messages, the revocation is immediate and does not notify the user. For non-silent messages, in-progress pushes are stopped, and pushed messages that have not yet been displayed are canceled.

Note

Messages with a Failed push status cannot be revoked.