This is documentation for Stream Chat Angular SDK v4, which is nolonger actively maintained. For up-to-date documentation, see the latest version (v5).

MessageService

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

Properties

customLinkRenderer

Optional customLinkRenderer: (url: string) => string

Type declaration

▸ (url): string

You can provide a custom method to display links

Parameters
NameTypeDescription
urlstringthe url the link should refer to
Returns

string

the HTML markup as a string for the link

Defined in

lib/message.service.ts:25


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

lib/message.service.ts:17

© Getstream.io, Inc. All Rights Reserved.