unpackMessage

abstract fun unpackMessage(message: String): Message(source)

Asynchronously unpacks a given string representation of a message into a message object. This function may throw an error if the string is not a valid message representation.

Return

The message object

Parameters

message

The string representation of the message to unpack