目录

Pushing Information to Users

Push Kit allows information to be pushed to users.

Preparations

Before using the message service, enable the push service. For details, see Getting Started.

Pushing Service Notifications

[h2]Initiating an Account-based Subscription Request

  1. Check that the configuration described in Getting Started is complete, enable service notifications, and select a subscription template.
  2. Call the has.requestSubscribeMessage method to initiate message subscription.
    has.requestSubscribeMessage({
      tmplIds: ['xxx'],
      success(res) {}
    });

[h2]Pushing Account-based Subscription Messages

After a user agrees to subscribe to the service, the atomic service can push messages based on the account. For details, see Sending an Account-based Subscription Message.

Pushing Service Updates

Pushing service updates is a business-to-customer (B2C) message capability provided. You can use this capability to push real-time updates of orders to users, keeping them informed of their order status.

For details, see Pushing an Account-based Service Updates Message.