deleteDraftMessage

abstract suspend fun deleteDraftMessage(message: DraftMessage)

Delete a draft message.


abstract suspend fun deleteDraftMessage(cid: String, parentId: String?)

Deletes the draft message of a channel, or of a thread when parentId is not null. Used when the draft is only identified by the channel/thread it belongs to, as happens with the draft.deleted event.