Skip to content

Interface: IMessagePreviewOptions ​

Defined in: messagePreview.ts:17

Properties ​

PropertyTypeDescriptionDefined in
maxLength?numberCut longer previews short, ending in an ellipsis.messagePreview.ts:21
mentionLabel?(mention) => stringThe text that stands in for a mention token; @user-12 style placeholders when absent.messagePreview.ts:19
singleLine?booleanFold line breaks and runs of spaces into single spaces, for one-line lists.messagePreview.ts:23

Released under the GNU Affero General Public License v3.0.