stream-chat-angular 5.10.0 → 5.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/README.md +33 -4
  2. package/assets/version.d.ts +1 -1
  3. package/esm2020/assets/version.mjs +2 -2
  4. package/esm2020/lib/attachment.service.mjs +2 -2
  5. package/esm2020/lib/channel/channel.component.mjs +2 -2
  6. package/esm2020/lib/channel-header/channel-header.component.mjs +2 -2
  7. package/esm2020/lib/channel-query.mjs +1 -1
  8. package/esm2020/lib/channel.service.mjs +12 -12
  9. package/esm2020/lib/chat-client.service.mjs +6 -6
  10. package/esm2020/lib/custom-templates.service.mjs +2 -2
  11. package/esm2020/lib/message/message.component.mjs +3 -3
  12. package/esm2020/lib/message-actions-box/message-actions-box.component.mjs +2 -2
  13. package/esm2020/lib/message-input/message-input-config.service.mjs +2 -2
  14. package/esm2020/lib/message-input/message-input.component.mjs +3 -3
  15. package/esm2020/lib/message-list/message-list.component.mjs +2 -2
  16. package/esm2020/lib/message-reactions/message-reactions.component.mjs +3 -3
  17. package/esm2020/lib/message-reactions-selector/message-reactions-selector.component.mjs +2 -2
  18. package/esm2020/lib/message-reactions.service.mjs +4 -4
  19. package/esm2020/lib/message.service.mjs +2 -2
  20. package/esm2020/lib/thread/thread.component.mjs +2 -2
  21. package/esm2020/lib/types.mjs +1 -1
  22. package/fesm2015/stream-chat-angular.mjs +36 -36
  23. package/fesm2015/stream-chat-angular.mjs.map +1 -1
  24. package/fesm2020/stream-chat-angular.mjs +36 -36
  25. package/fesm2020/stream-chat-angular.mjs.map +1 -1
  26. package/lib/attachment.service.d.ts +1 -1
  27. package/lib/channel/channel.component.d.ts +1 -1
  28. package/lib/channel-header/channel-header.component.d.ts +1 -1
  29. package/lib/channel-query.d.ts +1 -1
  30. package/lib/channel.service.d.ts +22 -22
  31. package/lib/chat-client.service.d.ts +7 -7
  32. package/lib/custom-templates.service.d.ts +1 -1
  33. package/lib/message/message.component.d.ts +2 -2
  34. package/lib/message-actions-box/message-actions-box.component.d.ts +1 -1
  35. package/lib/message-input/message-input-config.service.d.ts +1 -1
  36. package/lib/message-input/message-input.component.d.ts +3 -3
  37. package/lib/message-list/message-list.component.d.ts +1 -1
  38. package/lib/message-reactions/message-reactions.component.d.ts +2 -2
  39. package/lib/message-reactions-selector/message-reactions-selector.component.d.ts +1 -1
  40. package/lib/message-reactions.service.d.ts +4 -4
  41. package/lib/message.service.d.ts +1 -1
  42. package/lib/thread/thread.component.d.ts +1 -1
  43. package/lib/types.d.ts +1 -1
  44. package/package.json +2 -2
  45. package/src/assets/version.ts +1 -1
@@ -20,7 +20,7 @@ import transliterate from '@stream-io/transliterate';
20
20
  import * as i8 from 'angular-mentions';
21
21
  import { MentionModule } from 'angular-mentions';
22
22
 
23
- const version = '5.10.0';
23
+ const version = '5.11.0';
24
24
 
25
25
  /**
26
26
  * The `NotificationService` can be used to add or remove notifications. By default the [`NotificationList`](/chat/docs/sdk/angular/components/NotificationListComponent/) component displays the currently active notifications.
@@ -119,14 +119,14 @@ class ChatClientService {
119
119
  this.user$ = this.userSubject.asObservable();
120
120
  }
121
121
  /**
122
- * Creates a [`StreamChat`](https://github.com/GetStream/stream-chat-js/blob/668b3e5521339f4e14fc657834531b4c8bf8176b/src/client.ts#L124) instance using the provided `apiKey`, and connects a user with the given meta data and token. More info about [connecting users](https://getstream.io/chat/docs/javascript/init_and_users/?language=javascript) can be found in the platform documentation.
122
+ * Creates a [`StreamChat`](https://github.com/GetStream/stream-chat-js/blob/668b3e5521339f4e14fc657834531b4c8bf8176b/src/client.ts#L124) instance using the provided `apiKey`, and connects a user with the given meta data and token. More info about [connecting users](/chat/docs/javascript/init_and_users/) can be found in the platform documentation.
123
123
  * @param apiKey
124
124
  * @param userOrId you can emit this for anonymous logins
125
125
  * @param userTokenOrProvider You can provide:<ul>
126
126
  * <li> a token, </li>
127
127
  * <li> a token provider, a method that returns `Promise<string>`, which can be called when the previous token expires (recommended setup for production applications)</li>
128
- * <li> the keyword 'guest' to connect as [guest user](https://getstream.io/chat/docs/javascript/authless_users/?language=javascript#guest-users) </li>
129
- * <li> the keyword 'anonymous' to connect as [anonymous user](https://getstream.io/chat/docs/javascript/authless_users/?language=javascript#anonymous-users) </li>
128
+ * <li> the keyword 'guest' to connect as [guest user](/chat/docs/javascript/authless_users/#guest-users) </li>
129
+ * <li> the keyword 'anonymous' to connect as [anonymous user](/chat/docs/javascript/authless_users/#anonymous-users) </li>
130
130
  * </ul>
131
131
  * @param clientOptions Setting to provide to the Stream client instance
132
132
  */
@@ -205,7 +205,7 @@ class ChatClientService {
205
205
  this.subscriptions.forEach((s) => s.unsubscribe());
206
206
  }
207
207
  /**
208
- * Loads the current [application settings](https://getstream.io/chat/docs/javascript/app_setting_overview/?language=javascript), if the application settings have already been loaded, it does nothing.
208
+ * Loads the current [application settings](/chat/docs/javascript/app_setting_overview/), if the application settings have already been loaded, it does nothing.
209
209
  */
210
210
  async getAppSettings() {
211
211
  if (this.appSettingsPromise) {
@@ -222,7 +222,7 @@ class ChatClientService {
222
222
  this.appSettingsSubject.next(settings.app || {});
223
223
  }
224
224
  /**
225
- * Flag the message with the given ID. If you want to know [more about flags](https://getstream.io/chat/docs/javascript/moderation/?language=javascript) check out the platform documentation.
225
+ * Flag the message with the given ID. If you want to know [more about flags](/chat/docs/javascript/moderation/) check out the platform documentation.
226
226
  * @param messageId
227
227
  */
228
228
  async flagMessage(messageId) {
@@ -591,7 +591,7 @@ class ChannelService {
591
591
  *
592
592
  * The method will be called with the result of the latest channel query.
593
593
  *
594
- * You can return either an offset, or a filter using the [`$lte`/`$gte` operator](https://getstream.io/chat/docs/javascript/query_syntax_operators/). If you return a filter, it will be merged with the filter provided for the `init` method.
594
+ * You can return either an offset, or a filter using the [`$lte`/`$gte` operator](/chat/docs/javascript/query_syntax_operators/). If you return a filter, it will be merged with the filter provided for the `init` method.
595
595
  */
596
596
  set customPaginator(paginator) {
597
597
  this._customPaginator = paginator;
@@ -685,7 +685,7 @@ class ChannelService {
685
685
  }
686
686
  }
687
687
  /**
688
- * Loads the next page of messages of the active channel. The page size can be set in the [query option](https://getstream.io/chat/docs/javascript/query_channels/?language=javascript#query-options) object.
688
+ * Loads the next page of messages of the active channel. The page size can be set in the [query option](/chat/docs/javascript/query_channels/#query-options) object.
689
689
  * @param direction
690
690
  */
691
691
  loadMoreMessages(direction = 'older') {
@@ -717,7 +717,7 @@ class ChannelService {
717
717
  });
718
718
  }
719
719
  /**
720
- * Loads the next page of messages of the active thread. The page size can be set in the [query option](https://getstream.io/chat/docs/javascript/query_channels/?language=javascript#query-options) object.
720
+ * Loads the next page of messages of the active thread. The page size can be set in the [query option](/chat/docs/javascript/query_channels/#query-options) object.
721
721
  * @param direction
722
722
  */
723
723
  loadMoreThreadReplies(direction = 'older') {
@@ -742,7 +742,7 @@ class ChannelService {
742
742
  });
743
743
  }
744
744
  /**
745
- * Queries the channels with the given filters, sorts and options. More info about [channel querying](https://getstream.io/chat/docs/javascript/query_channels/?language=javascript) can be found in the platform documentation. By default the first channel in the list will be set as active channel and will be marked as read.
745
+ * Queries the channels with the given filters, sorts and options. More info about [channel querying](/chat/docs/javascript/query_channels/) can be found in the platform documentation. By default the first channel in the list will be set as active channel and will be marked as read.
746
746
  * @param filters
747
747
  * @param sort
748
748
  * @param options
@@ -765,7 +765,7 @@ class ChannelService {
765
765
  });
766
766
  }
767
767
  /**
768
- * Queries the channels with the given query function. More info about [channel querying](https://getstream.io/chat/docs/javascript/query_channels/?language=javascript) can be found in the platform documentation.
768
+ * Queries the channels with the given query function. More info about [channel querying](/chat/docs/javascript/query_channels/) can be found in the platform documentation.
769
769
  * @param query
770
770
  * @param options
771
771
  * @param options.shouldSetActiveChannel The `shouldSetActiveChannel` specifies if the first channel in the result should be selected as the active channel or not. Default is `true`.
@@ -795,7 +795,7 @@ class ChannelService {
795
795
  this.channelSubscriptions = {};
796
796
  }
797
797
  /**
798
- * Loads the next page of channels. The page size can be set in the [query option](https://getstream.io/chat/docs/javascript/query_channels/?language=javascript#query-options) object.
798
+ * Loads the next page of channels. The page size can be set in the [query option](/chat/docs/javascript/query_channels/#query-options) object.
799
799
  */
800
800
  async loadMoreChannels() {
801
801
  await this.queryChannels(false, 'next-page');
@@ -921,7 +921,7 @@ class ChannelService {
921
921
  }
922
922
  }
923
923
  /**
924
- * Uploads files to the channel. If you want to know more about [file uploads](https://getstream.io/chat/docs/javascript/file_uploads/?language=javascript) check out the platform documentation.
924
+ * Uploads files to the channel. If you want to know more about [file uploads](/chat/docs/javascript/file_uploads/) check out the platform documentation.
925
925
  * @param uploads the attachments to upload (output of the [`AttachmentService`](/chat/docs/sdk/angular/services/AttachmentService/))
926
926
  * @returns the result of file upload requests
927
927
  */
@@ -989,7 +989,7 @@ class ChannelService {
989
989
  return result;
990
990
  }
991
991
  /**
992
- * Deletes an uploaded file by URL. If you want to know more about [file uploads](https://getstream.io/chat/docs/javascript/file_uploads/?language=javascript) check out the platform documentation
992
+ * Deletes an uploaded file by URL. If you want to know more about [file uploads](/chat/docs/javascript/file_uploads/) check out the platform documentation
993
993
  * @param attachmentUpload Attachment to be deleted (output of the [`AttachmentService`](/chat/docs/sdk/angular/services/AttachmentService/))
994
994
  */
995
995
  async deleteAttachment(attachmentUpload) {
@@ -1003,7 +1003,7 @@ class ChannelService {
1003
1003
  : channel.deleteFile(attachmentUpload.url));
1004
1004
  }
1005
1005
  /**
1006
- * Returns the autocomplete options for current channel members. If the channel has less than 100 members, it returns the channel members, otherwise sends a [search request](https://getstream.io/chat/docs/javascript/query_members/?language=javascript#pagination-and-ordering) with the given search term.
1006
+ * Returns the autocomplete options for current channel members. If the channel has less than 100 members, it returns the channel members, otherwise sends a [search request](/chat/docs/javascript/query_members/#pagination-and-ordering) with the given search term.
1007
1007
  * @param searchTerm Text to search for in the names of members
1008
1008
  * @returns The list of members matching the search filter
1009
1009
  */
@@ -1463,8 +1463,8 @@ class ChannelService {
1463
1463
  return this.activeThreadMessagesSubject.getValue() || [];
1464
1464
  }
1465
1465
  /**
1466
- * Get the last 1200 reactions of a message in the current active channel. If you need to fetch more reactions please use the [following endpoint](https://getstream.io/chat/docs/javascript/send_reaction/?language=javascript#paginating-reactions).
1467
- * @deprecated use [`messageReactionsService.queryReactions()`](https://getstream.io/chat/docs/sdk/angular/services/MessageReactionsService/#queryreactions) instead
1466
+ * Get the last 1200 reactions of a message in the current active channel. If you need to fetch more reactions please use the [following endpoint](/chat/docs/javascript/send_reaction/#paginating-reactions).
1467
+ * @deprecated use [`messageReactionsService.queryReactions()`](/chat/docs/sdk/angular/services/MessageReactionsService/#queryreactions) instead
1468
1468
  * @param messageId
1469
1469
  * @returns all reactions of a message
1470
1470
  */
@@ -2035,7 +2035,7 @@ class MessageService {
2035
2035
  * Decides if the message content should be formatted as text or HTML
2036
2036
  *
2037
2037
  * If you display messages as text the following parts are still be displayed as HTML:
2038
- * - user mentions -> you can customize this with your own template using the [`customTemplatesService.mentionTemplate$`](https://getstream.io/chat/docs/sdk/angular/services/CustomTemplatesService/#mentiontemplate)
2038
+ * - user mentions -> you can customize this with your own template using the [`customTemplatesService.mentionTemplate$`](/chat/docs/sdk/angular/services/CustomTemplatesService/#mentiontemplate)
2039
2039
  * - links -> you can customize this by providing you own [`customLinkRenderer`](#customlinkrenderer) method
2040
2040
  */
2041
2041
  this.displayAs = 'text';
@@ -2070,7 +2070,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
2070
2070
  /**
2071
2071
  * The `AttachmentService` manages the uploads of a message input.
2072
2072
  *
2073
- * You can read more about [uploads](https://getstream.io/chat/docs/javascript/file_uploads/?language=javascript&q=size) in the Stream API documentation. You can use Stream's API or the dashboard to customize the [file](https://getstream.io/chat/docs/javascript/app_setting_overview/?language=javascript&q=size#file-uploads) and [image upload](https://getstream.io/chat/docs/javascript/app_setting_overview/?language=javascript&q=size#image-uploads) configuration.
2073
+ * You can read more about [uploads](/chat/docs/javascript/file_uploads/) in the Stream API documentation. You can use Stream's API or the dashboard to customize the [file](/chat/docs/javascript/app_setting_overview/#file-uploads) and [image upload](/chat/docs/javascript/app_setting_overview/#image-uploads) configuration.
2074
2074
  */
2075
2075
  class AttachmentService {
2076
2076
  constructor(channelService, notificationService, chatClientService, messageService) {
@@ -3189,7 +3189,7 @@ class CustomTemplatesService {
3189
3189
  */
3190
3190
  this.attachmentActionsTemplate$ = new BehaviorSubject(undefined);
3191
3191
  /**
3192
- * The template used to display [system messages](https://getstream.io/chat/docs/javascript/silent_messages/?language=javascript&q=system) indise the [message component](/chat/docs/sdk/angular/components/MessageComponent/)
3192
+ * The template used to display [system messages](/chat/docs/javascript/silent_messages/) indise the [message component](/chat/docs/sdk/angular/components/MessageComponent/)
3193
3193
  */
3194
3194
  this.systemMessageTemplate$ = new BehaviorSubject(undefined);
3195
3195
  /**
@@ -3559,7 +3559,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
3559
3559
  }], ctorParameters: function () { return [{ type: ChatClientService }, { type: NotificationService }, { type: ChannelService }]; } });
3560
3560
 
3561
3561
  /**
3562
- * The `MessageReactionsService` provides customization options to message [reactions](https://getstream.io/chat/docs/javascript/send_reaction/?language=javascript).
3562
+ * The `MessageReactionsService` provides customization options to message [reactions](/chat/docs/javascript/send_reaction/).
3563
3563
  *
3564
3564
  */
3565
3565
  class MessageReactionsService {
@@ -3567,7 +3567,7 @@ class MessageReactionsService {
3567
3567
  this.chatClientService = chatClientService;
3568
3568
  this.notificationService = notificationService;
3569
3569
  /**
3570
- * The enabled [reactions](https://getstream.io/chat/docs/javascript/send_reaction/?language=javascript) and the associated emoji
3570
+ * The enabled [reactions](/chat/docs/javascript/send_reaction/) and the associated emoji
3571
3571
  *
3572
3572
  * You can provide any string as a reaction. The emoji can be provided as a string, if you want to use custom images for reactions you have to provide a [custom reactions UI](/chat/docs/sdk/angular/services/CustomTemplatesService/#messagereactionstemplate/)
3573
3573
  */
@@ -3592,7 +3592,7 @@ class MessageReactionsService {
3592
3592
  return this.reactions$.getValue();
3593
3593
  }
3594
3594
  /**
3595
- * Query reactions of a specific message, more info in the [API documentation](https://getstream.io/chat/docs/javascript/send_reaction/?language=javascript#query-reactions)
3595
+ * Query reactions of a specific message, more info in the [API documentation](/chat/docs/javascript/send_reaction/#query-reactions)
3596
3596
  * @param messageId
3597
3597
  * @param type
3598
3598
  * @param next
@@ -3624,7 +3624,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
3624
3624
  }], ctorParameters: function () { return [{ type: ChatClientService }, { type: NotificationService }]; } });
3625
3625
 
3626
3626
  /**
3627
- * The `MessageReactionsSelectorComponent` makes it possible for users to react to a message, the reaction options can be set using the [`MessageReactionsService`](/chat/docs/sdk/angular/services/MessageReactionsService/). You can read more about [message reactions](https://getstream.io/chat/docs/javascript/send_reaction/?language=javascript) in the platform documentation.
3627
+ * The `MessageReactionsSelectorComponent` makes it possible for users to react to a message, the reaction options can be set using the [`MessageReactionsService`](/chat/docs/sdk/angular/services/MessageReactionsService/). You can read more about [message reactions](/chat/docs/javascript/send_reaction/) in the platform documentation.
3628
3628
  */
3629
3629
  class MessageReactionsSelectorComponent {
3630
3630
  constructor(channelService, messageReactionsService, cdRef) {
@@ -3692,7 +3692,7 @@ class MessageActionsBoxComponent {
3692
3692
  */
3693
3693
  this.isMine = false;
3694
3694
  /**
3695
- * The list of [channel capabilities](https://getstream.io/chat/docs/javascript/channel_capabilities/?language=javascript) that are enabled for the current user, the list of [supported interactions](/chat/docs/sdk/angular/concepts/message-interactions) can be found in our message interaction guide. Unathorized actions won't be displayed on the UI.
3695
+ * The list of [channel capabilities](/chat/docs/javascript/channel_capabilities/) that are enabled for the current user, the list of [supported interactions](/chat/docs/sdk/angular/concepts/message-interactions) can be found in our message interaction guide. Unathorized actions won't be displayed on the UI.
3696
3696
  */
3697
3697
  this.enabledActions = [];
3698
3698
  this.visibleMessageActionItems = [];
@@ -3969,7 +3969,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
3969
3969
  }] } });
3970
3970
 
3971
3971
  /**
3972
- * The `Channel` component is a container component that displays the [`ChannelHeader`](/chat/docs/sdk/angular/components/ChannelHeaderComponent/), [`MessageList`](/chat/docs/sdk/angular/components/MessageListComponent), [`NotificationList`](/chat/docs/sdk/angular/components/NotificationListComponent/) and [`MessageInput`](/chat/docs/sdk/angular/components/MessageInputComponent/) components. You can also provide the [`Thread`](/chat/docs/sdk/angular/components/ThreadComponent/) component to use message [threads](https://getstream.io/chat/docs/javascript/threads/?language=javascript).
3972
+ * The `Channel` component is a container component that displays the [`ChannelHeader`](/chat/docs/sdk/angular/components/ChannelHeaderComponent/), [`MessageList`](/chat/docs/sdk/angular/components/MessageListComponent), [`NotificationList`](/chat/docs/sdk/angular/components/NotificationListComponent/) and [`MessageInput`](/chat/docs/sdk/angular/components/MessageInputComponent/) components. You can also provide the [`Thread`](/chat/docs/sdk/angular/components/ThreadComponent/) component to use message [threads](/chat/docs/javascript/threads/).
3973
3973
  */
3974
3974
  class ChannelComponent {
3975
3975
  constructor(channelService, themeService, customTemplatesService) {
@@ -4027,7 +4027,7 @@ const getChannelDisplayText = (channel, currentUser) => {
4027
4027
  };
4028
4028
 
4029
4029
  /**
4030
- * The `ChannelHeader` component displays the avatar and name of the currently active channel along with member and watcher information. You can read about [the difference between members and watchers](https://getstream.io/chat/docs/javascript/watch_channel/?language=javascript#watchers-vs-members) in the platform documentation. Please note that number of watchers is only displayed if the user has [`connect-events` capability](https://getstream.io/chat/docs/javascript/channel_capabilities/?language=javascript)
4030
+ * The `ChannelHeader` component displays the avatar and name of the currently active channel along with member and watcher information. You can read about [the difference between members and watchers](/chat/docs/javascript/watch_channel/#watchers-vs-members) in the platform documentation. Please note that number of watchers is only displayed if the user has [`connect-events` capability](/chat/docs/javascript/channel_capabilities/)
4031
4031
  */
4032
4032
  class ChannelHeaderComponent {
4033
4033
  constructor(channelService, customTemplatesService, cdRef, chatClientService) {
@@ -4970,7 +4970,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
4970
4970
  }] } });
4971
4971
 
4972
4972
  /**
4973
- * The `MessageReactions` component displays the reactions of a message. You can read more about [message reactions](https://getstream.io/chat/docs/javascript/send_reaction/?language=javascript) in the platform documentation.
4973
+ * The `MessageReactions` component displays the reactions of a message. You can read more about [message reactions](/chat/docs/javascript/send_reaction/) in the platform documentation.
4974
4974
  */
4975
4975
  class MessageReactionsComponent {
4976
4976
  constructor(cdRef, messageReactionsService, customTemplatesService) {
@@ -4988,7 +4988,7 @@ class MessageReactionsComponent {
4988
4988
  this.messageReactionCounts = {};
4989
4989
  /**
4990
4990
  * List of reactions of a [message](/chat/docs/sdk/angular/types/stream-message/), used to display the users of a reaction type.
4991
- * @deprecated you can fetch the reactions using [`messageReactionsService.queryReactions()`](https://getstream.io/chat/docs/sdk/angular/services/MessageReactionsService/#queryreactions)
4991
+ * @deprecated you can fetch the reactions using [`messageReactionsService.queryReactions()`](/chat/docs/sdk/angular/services/MessageReactionsService/#queryreactions)
4992
4992
  */
4993
4993
  this.latestReactions = [];
4994
4994
  /**
@@ -5145,11 +5145,11 @@ class MessageComponent {
5145
5145
  this.ngZone = ngZone;
5146
5146
  this.translateService = translateService;
5147
5147
  /**
5148
- * The list of [channel capabilities](https://getstream.io/chat/docs/javascript/channel_capabilities/?language=javascript) that are enabled for the current user, the list of [supported interactions](/chat/docs/sdk/angular/concepts/message-interactions/) can be found in our message interaction guide. Unathorized actions won't be displayed on the UI. The [`MessageList`](/chat/docs/sdk/angular/components/MessageListComponent/) component automatically sets this based on [channel capabilities](https://getstream.io/chat/docs/javascript/channel_capabilities/?language=javascript).
5148
+ * The list of [channel capabilities](/chat/docs/javascript/channel_capabilities/) that are enabled for the current user, the list of [supported interactions](/chat/docs/sdk/angular/concepts/message-interactions/) can be found in our message interaction guide. Unathorized actions won't be displayed on the UI. The [`MessageList`](/chat/docs/sdk/angular/components/MessageListComponent/) component automatically sets this based on [channel capabilities](/chat/docs/javascript/channel_capabilities/).
5149
5149
  */
5150
5150
  this.enabledMessageActions = [];
5151
5151
  /**
5152
- * Determines if the message is being dispalyed in a channel or in a [thread](https://getstream.io/chat/docs/javascript/threads/?language=javascript).
5152
+ * Determines if the message is being dispalyed in a channel or in a [thread](/chat/docs/javascript/threads/).
5153
5153
  */
5154
5154
  this.mode = 'main';
5155
5155
  /**
@@ -5795,7 +5795,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
5795
5795
  class MessageInputConfigService {
5796
5796
  constructor() {
5797
5797
  /**
5798
- * If file upload is enabled, the user can open a file selector from the input. Please note that the user also needs to have the necessary [channel capability](https://getstream.io/chat/docs/javascript/channel_capabilities/?language=javascript).
5798
+ * If file upload is enabled, the user can open a file selector from the input. Please note that the user also needs to have the necessary [channel capability](/chat/docs/javascript/channel_capabilities/).
5799
5799
  */
5800
5800
  this.isFileUploadEnabled = true;
5801
5801
  /**
@@ -6376,7 +6376,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
6376
6376
  }] } });
6377
6377
 
6378
6378
  /**
6379
- * The `MessageInput` component displays an input where users can type their messages and upload files, and sends the message to the active channel. The component can be used to compose new messages or update existing ones. To send messages, the chat user needs to have the necessary [channel capability](https://getstream.io/chat/docs/javascript/channel_capabilities/?language=javascript).
6379
+ * The `MessageInput` component displays an input where users can type their messages and upload files, and sends the message to the active channel. The component can be used to compose new messages or update existing ones. To send messages, the chat user needs to have the necessary [channel capability](/chat/docs/javascript/channel_capabilities/).
6380
6380
  */
6381
6381
  class MessageInputComponent {
6382
6382
  constructor(channelService, notificationService, attachmentService, configService, textareaType, componentFactoryResolver, cdRef, emojiInputService, customTemplatesService, messageActionsService, voiceRecorderService, audioRecorder) {
@@ -6393,7 +6393,7 @@ class MessageInputComponent {
6393
6393
  this.voiceRecorderService = voiceRecorderService;
6394
6394
  this.audioRecorder = audioRecorder;
6395
6395
  /**
6396
- * Determines if the message is being dispalyed in a channel or in a [thread](https://getstream.io/chat/docs/javascript/threads/?language=javascript).
6396
+ * Determines if the message is being dispalyed in a channel or in a [thread](/chat/docs/javascript/threads/).
6397
6397
  */
6398
6398
  this.mode = 'main';
6399
6399
  /**
@@ -7702,7 +7702,7 @@ class MessageListComponent {
7702
7702
  this.ngZone = ngZone;
7703
7703
  this.cdRef = cdRef;
7704
7704
  /**
7705
- * Determines if the message list should display channel messages or [thread messages](https://getstream.io/chat/docs/javascript/threads/?language=javascript).
7705
+ * Determines if the message list should display channel messages or [thread messages](/chat/docs/javascript/threads/).
7706
7706
  */
7707
7707
  this.mode = 'main';
7708
7708
  /**
@@ -8375,7 +8375,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
8375
8375
  }] } });
8376
8376
 
8377
8377
  /**
8378
- * The `Thread` component represents a [message thread](https://getstream.io/chat/docs/javascript/threads/?language=javascript), it is a container component that displays a thread with a header, [`MessageList`](/chat/docs/sdk/angular/components/MessageListComponent) and [`MessageInput`](/chat/docs/sdk/angular/components/MessageInputComponent/) components.
8378
+ * The `Thread` component represents a [message thread](/chat/docs/javascript/threads/), it is a container component that displays a thread with a header, [`MessageList`](/chat/docs/sdk/angular/components/MessageListComponent) and [`MessageInput`](/chat/docs/sdk/angular/components/MessageInputComponent/) components.
8379
8379
  */
8380
8380
  class ThreadComponent {
8381
8381
  constructor(customTemplatesService, channelService, chatClientService) {