Skip to main content

Channel drafts

Chat UI supports channel draft functionality.

tip

When a user enters text in the channel input field but doesn't send it, then navigates back to the channel list, the list will display a draft indicator showing the unsent content.

draft

Usage

Chat UI automatically handles channel draft retrieval, deletion, and page refresh without requiring additional API calls. For custom implementations, you can access the NCBaseChannel object through NCChannelViewController's currentChannel property, then call either -saveDraft:completion: or -clearDraftWithCompletion:.