setPushConfig

public final Unit setPushConfig(PushConfig pushConfig)

Push configuration.

Used to customize the remote push title, content, additional data, etc. If sending a custom message, it is recommended to set PushConfig.pushContent; otherwise the recipient may not receive remote push notifications. SDK built-in message types (e.g. TextMessage) do not need this, as defaults are already specified.