getPushTemplate

fun SendbirdChat.getPushTemplate(handler: ResultHandler<String>?)
fun SendbirdChat.HMS.getPushTemplate(handler: ResultHandler<String>?)

Gets push template option for the current User. For details of push template option, refer to awaitSetPushTemplate. This can be used, for instance, when you need to check the push notification content preview is on or off at the moment.

Since

4.15.0

Parameters

handler

Callback handler.


suspend fun SendbirdChat.getPushTemplate(): String
suspend fun SendbirdChat.HMS.getPushTemplate(): String

Deprecated

As of 4.17.0, replaced with awaitGetPushTemplate().

Replace with

awaitGetPushTemplate()

Gets push template option for the current User. For details of push template option, refer to awaitSetPushTemplate. This can be used, for instance, when you need to check the push notification content preview is on or off at the moment.

Since

4.15.0