Skip to content

Commit ae6d36f

Browse files
committed
docs: Update add attachments docs
1 parent da236ed commit ae6d36f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

projects/stream-chat-angular/src/lib/attachment.service.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ export class AttachmentService<
9494
}
9595

9696
/**
97-
* If you want to use custom attachments you can add them using this method.
97+
* You can add custom `image`, `video` and `file` attachments using this method.
98+
*
99+
* Note: If you just want to use your own CDN for file uploads, you don't necessary need this method, you can just specify you own upload function in the [`ChannelService`](./ChannelService.mdx)
98100
*
99-
* Note 1: If you just want to use your own CDN for file uploads, you don't necessary need this method, you can just specify you own upload function in the [`ChannelService`](./ChannelService.mdx)
100-
* Note 2: If you want to use a custom attachment type that is not supported by the default [`AttachmentPreviewList`](../components/AttachmentPreviewListComponent.mdx) and [`AttachmentList`](../components/AttachmentListComponent.mdx) you'll have to provide you own UI for rendering them in the message input and message list.
101101
* @param attachment
102102
*/
103103
addAttachment(attachment: Attachment<T>) {

0 commit comments

Comments
 (0)