Draft

interface Draft

Encapsulating the content will be post. A draft is created by Message.draft}

Since

2.5.0

Functions

Link copied to clipboard
abstract fun addAttachments(vararg files: LocalFile): Message.Draft

Attach local files to the draft.

Link copied to clipboard
abstract fun addMentions(vararg mentions: Mention): Message.Draft

Mention either one people or all people in a space.

Link copied to clipboard
abstract fun setParent(parent: Message): Message.Draft

Set the parent message of the threading message.