post
abstract fun post( target: String, draft: Message.Draft, handler: CompletionHandler<Message>)
Content copied to clipboard
Posts a message to a space or a person asynchronously.
The content of the message can be plain text, html, or markdown. To notify specific person or everyone in a space, mentions should be used. Having @johndoe
in the content of the message does not generate notification.
Since
2.5.0
Parameters
target
The identifier of a space or a person or an email address to which the message is to be posted.
draft
The content of message to be posted to the space.
handler
A closure to be executed once the message has posted.