subscribePublicService

public abstract void subscribePublicService(PublicServiceType publicServiceType, String publicServiceId, RongIMClient.OperationCallback callback)

Subscribe to an Official Account.

Parameters

publicServiceType

The type of public service. Refer to .

publicServiceId

The ID of the public service.

callback

The callback for subscribing to the Official Account.