getMessageTemplatesByToken

fun SendbirdChat.getMessageTemplatesByToken(token: String?, params: MessageTemplateListParams = MessageTemplateListParams(), handler: ResultHandler<MessageTemplatesResult>?)

Retrieves Message template list by token

Since

4.16.0

Parameters

token

The token to retrieve the next page.

params

MessageTemplateListParams


suspend fun SendbirdChat.getMessageTemplatesByToken(token: String?, params: MessageTemplateListParams = MessageTemplateListParams()): MessageTemplatesResult

Deprecated

As of 4.17.0, replaced with awaitGetMessageTemplatesByToken(token, params).

Replace with

awaitGetMessageTemplatesByToken(token, params)

Retrieves Message template list by token

Return

MessageTemplatesResult

Since

4.16.0

Parameters

token

The token to retrieve the next page

params

MessageTemplateListParams