getMessage

fun BaseMessage.Companion.getMessage(params: MessageRetrievalParams, handler: ResultHandler<BaseMessage>?)

Retrieves a BaseMessage object with a specified message ID.

Since

4.15.0

Parameters

params

MessageRetrievalParams.

handler

Callback handler.


suspend fun BaseMessage.Companion.getMessage(params: MessageRetrievalParams): BaseMessage

Deprecated

As of 4.17.0, replaced with awaitGetMessage(params).

Replace with

awaitGetMessage(params)

Retrieves a BaseMessage object with a specified message ID.

Since

4.15.0

Parameters

params

MessageRetrievalParams.