getMessageTemplate

fun SendbirdChat.getMessageTemplate(templateKey: String, handler: ResultHandler<MessageTemplate>?)

Retrieves a single message template by given template key.

Since

4.16.0

Parameters

templateKey

Template key to retrieve.


suspend fun SendbirdChat.getMessageTemplate(templateKey: String): MessageTemplate

Deprecated

As of 4.17.0, replaced with awaitGetMessageTemplate(templateKey).

Replace with

awaitGetMessageTemplate(templateKey)

Retrieves a single message template by given template key.

Return

MessageTemplate

Since

4.16.0

Parameters

templateKey

Template key to retrieve.