Skip to main content
Version: v4

MessageService

The message service contains configuration options related to displaying the message content

Properties

customLinkRenderer

Optional customLinkRenderer: (url: string) => string

You can provide a custom method to display links

Type declaration

▸ (url): string

Parameters
NameTypeDescription
urlstringthe url the link should refer to
Returns

string

Defined in

projects/stream-chat-angular/src/lib/message.service.ts:24


displayAs

displayAs: "html" | "text" = 'text'

Decides if the message content should be formatted as text or HTML

If you display messages as text the following parts are still be displayed as HTML:

Defined in

projects/stream-chat-angular/src/lib/message.service.ts:17

Did you find this page helpful?