get

abstract fun get(messageId: String, handler: CompletionHandler<Message>)

Retrieves a message asynchronously by message Id.

Since

0.1

Parameters

messageId

The identifier of the message. (Derived parameter: Use MessageClient.list to get a list of messages. Then use Message.id to retrieve the messageId)

handler

A closure to be executed once the message has been retrieved.