Info:
This is documentation for Stream Chat Angular SDK v4, which is no longer actively maintained. For up-to-date documentation, see the latest version (v7).

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
Name Type Description
url string the 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

Add Chat to my app: getstream.io/SKILL.md

The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


Ask your agent:

/stream Build me a Social App with Feeds and Moderation.
/stream Any livestream calls running?
/stream Chat Angular v4: <Your Question>