formatDraftMessagePreview

Generates a preview text for the given draft message. This is used to show a preview of the draft message in the the channel list.

Return

The formatted text representation for the given draft message.

Parameters

draftMessage

The draft message whose data is used to generate the preview text.