DraftMessage
@Immutable
Model holding data about a draft message.
Constructors
Link copied to clipboard
constructor(id: String = "", cid: String = "", text: String = "", parentId: String? = null, attachments: List<Attachment> = listOf(), mentionedUsersIds: List<String> = listOf(), extraData: Map<String, Any> = mapOf(), silent: Boolean = false, showInChannel: Boolean = false, replyMessage: Message? = null, command: String? = null, args: String? = null, createdAt: Date? = null, mentionedUsers: List<User> = listOf())
Properties
Link copied to clipboard
The list of message attachments
Link copied to clipboard
The users mentioned in the draft. The server returns them with the draft, so a draft can restore its mentions without the users being loaded in the channel. Saving a draft sends only mentionedUsersIds.
Link copied to clipboard
The list of user mentioned in the message
Link copied to clipboard
The message that is being replied to.
Link copied to clipboard
Whether thread reply should be shown in the channel as well