retrieve

@Contract(pure = true)
open fun retrieve(msg: ThreadMessage): ThreadMessage

Retrieves the updated message object from the given message.

Return

The retrieved message

Parameters

msg

The message to retrieve


@Contract(pure = true)
abstract fun retrieve(id: String): ThreadMessage

Retrieves the message with the given id.

Return

The retrieved message

Parameters

id

The id of the message to retrieve