setPushTriggerOption

suspend fun SendbirdChat.setPushTriggerOption(pushTriggerOption: SendbirdChat.PushTriggerOption)
suspend fun SendbirdChat.HMS.setPushTriggerOption(pushTriggerOption: SendbirdChat.PushTriggerOption)

Deprecated

As of 4.17.0, replaced with awaitSetPushTriggerOption(pushTriggerOption).

Replace with

awaitSetPushTriggerOption(pushTriggerOption)

Sets the current User's push trigger option. If certain channel's push trigger option is set to GroupChannel.PushTriggerOption.DEFAULT, it works according to the state of PushTriggerOption. If not, push messages will be triggered according to the state of GroupChannel.PushTriggerOption. Refer to GroupChannel.PushTriggerOption.

Since

4.15.0

Parameters

pushTriggerOption

PushTriggerOption. Refer to PushTriggerOption.