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

Upgrade from v5

Breaking changes

stream-chat-js@9

stream-chat-angular@6 requires a minimum version of stream-chat-js@9.

stream-chat-js@9 no longer have generic parameters to define typings for custom data stored on Stream entities (such as channel, message, user etc.). You can now provide this infromation using declaration merging.

Who is affected by this change?

  • Integrators who read custom properties defined by the SDK (such as channel.name or channel.image)
  • Integrators who created custom generics for custom properties
  • Integrators who use custom properties without generics (the new system will cause type errors)

To see how you need to update your code please see the custom types guide

Please also checkout the upgrade guide for stream-chat-js.

GalleryAttachmentContext

The input context of customTemplatesService.galleryAttachmentTemplate$ is changed from {attachment: Attachment} to {attachment: GalleryAttachment}.

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 v6: <Your Question>