@cometchat/chat-uikit-react 6.2.6 → 6.3.1

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 (38) hide show
  1. package/dist/index.d.ts +92 -23
  2. package/dist/index.js +2 -2
  3. package/dist/index.js.map +1 -1
  4. package/dist/styles/CometChatAIAssistantChat.css +1 -0
  5. package/dist/styles/CometChatAIAssistantMessageBubble.css +32 -6
  6. package/dist/styles/CometChatConversations.css +2 -2
  7. package/dist/styles/CometChatMessageBubble.css +5 -0
  8. package/dist/styles/CometChatMessageHeader.css +1 -1
  9. package/dist/styles/CometChatMessageList.css +8 -1
  10. package/dist/styles/CometChatMessagePreview.css +275 -0
  11. package/dist/styles/CometChatStreamMessageBubble.css +48 -6
  12. package/dist/styles/components/CometChatAIAssistantChat.css +1 -0
  13. package/dist/styles/components/CometChatAIAssistantMessageBubble.css +32 -6
  14. package/dist/styles/components/CometChatConversations.css +2 -2
  15. package/dist/styles/components/CometChatMessageBubble.css +5 -0
  16. package/dist/styles/components/CometChatMessageHeader.css +1 -1
  17. package/dist/styles/components/CometChatMessageList.css +8 -1
  18. package/dist/styles/components/CometChatMessagePreview.css +275 -0
  19. package/dist/styles/components/CometChatStreamMessageBubble.css +48 -6
  20. package/dist/styles/components/index.css +5 -0
  21. package/dist/styles/index.css +5 -0
  22. package/dist/types/components/BaseComponents/CometChatFullScreenViewer/CometChatFullScreenViewer.d.ts +1 -1
  23. package/dist/types/components/BaseComponents/CometChatMessagePreview/CometChatMessagePreview.d.ts +30 -0
  24. package/dist/types/components/CometChatAIAssistantChat/CometChatAIAssistantChat.d.ts +2 -0
  25. package/dist/types/components/CometChatMessageComposer/CometChatMessageComposer.d.ts +7 -0
  26. package/dist/types/components/CometChatMessageComposer/useCometChatMessageComposer.d.ts +1 -0
  27. package/dist/types/components/CometChatMessageList/CometChatMessageList.d.ts +20 -15
  28. package/dist/types/components/CometChatMessageList/useCometChatMessageList.d.ts +1 -1
  29. package/dist/types/components/Extensions/Polls/CreatePolls.d.ts +4 -0
  30. package/dist/types/components/Extensions/Polls/PollsExtensionDecorator.d.ts +2 -0
  31. package/dist/types/components/Extensions/Stickers/StickersExtensionDecorator.d.ts +3 -3
  32. package/dist/types/events/CometChatMessageEvents.d.ts +1 -0
  33. package/dist/types/index.d.ts +1 -0
  34. package/dist/types/modals/CometChatMessageTemplate.d.ts +5 -0
  35. package/dist/types/utils/DataSource.d.ts +5 -1
  36. package/dist/types/utils/DataSourceDecorator.d.ts +5 -1
  37. package/dist/types/utils/MessagesDataSource.d.ts +20 -1
  38. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -1268,6 +1268,11 @@ declare class CometChatMessageTemplate {
1268
1268
  * @type {(message:CometChat.BaseMessage,alignment:MessageBubbleAlignment)=> Element | JSX.Element | null}
1269
1269
  */
1270
1270
  headerView: ((message: CometChat.BaseMessage, alignment: MessageBubbleAlignment) => Element | JSX$1.Element | null) | null;
1271
+ /**
1272
+ * Custom component to customize the reply view section for each message bubble.
1273
+ * @type {(message:CometChat.BaseMessage,alignment:MessageBubbleAlignment)=> Element | JSX.Element | null}
1274
+ */
1275
+ replyView: ((message: CometChat.BaseMessage, alignment?: MessageBubbleAlignment, onReplyViewClicked?: (messageToReply: CometChat.BaseMessage) => void, textFormatters?: CometChatTextFormatter[]) => Element | JSX$1.Element | null) | null;
1271
1276
  /**
1272
1277
  * Custom component to customize the footer section for each message bubble.
1273
1278
  * By default, it displays the reactions.
@@ -1381,6 +1386,7 @@ type ComposerId = {
1381
1386
  */
1382
1387
  interface additionalParamsOptions {
1383
1388
  hideReplyInThreadOption?: boolean;
1389
+ hideReplyOption?: boolean;
1384
1390
  hideTranslateMessageOption?: boolean;
1385
1391
  hideReactionOption?: boolean;
1386
1392
  hideEditMessageOption?: boolean;
@@ -1394,6 +1400,7 @@ declare class MessagesDataSource implements DataSource {
1394
1400
  getDeleteOption(): CometChatActionsIcon;
1395
1401
  getReactionOption(): CometChatActionsView;
1396
1402
  getReplyInThreadOption(): CometChatActionsIcon;
1403
+ getReplyOption(): CometChatActionsIcon;
1397
1404
  getSendMessagePrivatelyOption(): CometChatActionsIcon;
1398
1405
  getCopyOption(): CometChatActionsIcon;
1399
1406
  getMessageInfoOption(): CometChatActionsIcon;
@@ -1435,6 +1442,8 @@ declare class MessagesDataSource implements DataSource {
1435
1442
  getBubbleStatusInfoDate: (item: CometChat.BaseMessage, messageSentAtDateTimeFormat?: CalendarObject) => JSX$1.Element | null;
1436
1443
  getStatusInfoView: (_messageObject: CometChat.BaseMessage, _alignment: MessageBubbleAlignment, hideReceipts?: boolean, messageSentAtDateTimeFormat?: CalendarObject, showError?: boolean) => react_jsx_runtime.JSX.Element | null;
1437
1444
  getBottomView(_messageObject: CometChat.BaseMessage, _alignment: MessageBubbleAlignment): null;
1445
+ getReplyView(_messageObject: CometChat.BaseMessage, _alignment: MessageBubbleAlignment, onReplyPreviewClick?: (messageToReply: CometChat.BaseMessage) => void, textFormatters?: CometChatTextFormatter[]): react_jsx_runtime.JSX.Element | null;
1446
+ getFooterView(_messageObject: CometChat.BaseMessage): react_jsx_runtime.JSX.Element | null;
1438
1447
  getTextMessageTemplate(additionalConfigurations?: additionalParams): CometChatMessageTemplate;
1439
1448
  getAgentAssistantMessageBubble(message: CometChat.AIAssistantMessage): react_jsx_runtime.JSX.Element;
1440
1449
  getToolArgumentsMessageBubble(message: CometChat.AIToolArgumentMessage): react_jsx_runtime.JSX.Element;
@@ -1461,7 +1470,7 @@ declare class MessagesDataSource implements DataSource {
1461
1470
  getAllMessageCategories(additionalConfigurations?: {
1462
1471
  hideGroupActionMessages?: boolean;
1463
1472
  }): Array<string>;
1464
- getStickerButton(id: ComposerId, user?: CometChat.User, group?: CometChat.Group): JSX$1.Element | undefined;
1473
+ getStickerButton(id: ComposerId, user?: CometChat.User, group?: CometChat.Group, messageToReply?: CometChat.BaseMessage | null, closeReplyPreview?: () => void): JSX$1.Element | undefined;
1465
1474
  getId(): string;
1466
1475
  getTextMessageContentView(message: CometChat.TextMessage, _alignment: MessageBubbleAlignment, additionalConfigurations?: additionalParams): Element | JSX$1.Element;
1467
1476
  getAudioMessageContentView(message: CometChat.MediaMessage, _alignment: MessageBubbleAlignment): Element | JSX$1.Element;
@@ -1494,6 +1503,21 @@ declare class MessagesDataSource implements DataSource {
1494
1503
  fileAttachmentOption(): CometChatMessageComposerAction;
1495
1504
  getAttachmentOptions(id: ComposerId, additionalConfigurations?: any): Array<CometChatMessageComposerAction>;
1496
1505
  getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalConfigurations: additionalParams): string;
1506
+ /**
1507
+ * Helper method to get subtitle JSX element for message preview
1508
+ * @param message - The message object
1509
+ * @param textFormatters - Text formatters to apply
1510
+ * @param _alignment - Alignment of the message bubble
1511
+ * @returns JSX element for subtitle or null
1512
+ */
1513
+ getMessagePreviewSubtitle(message: CometChat.BaseMessage, textFormatters?: CometChatTextFormatter[], _alignment?: MessageBubbleAlignment): JSX$1.Element | null;
1514
+ /**
1515
+ * Helper method to get title JSX element for message preview
1516
+ * @param message - The message object
1517
+ * @param _alignment - Alignment of the message bubble
1518
+ * @returns JSX element for subtitle or null
1519
+ */
1520
+ getMessagePreviewTitle(message: CometChat.BaseMessage, _alignment?: MessageBubbleAlignment): JSX$1.Element | null;
1497
1521
  getAuxiliaryHeaderMenu(user?: CometChat.User, group?: CometChat.Group, additionalConfigurations?: any): Element[] | JSX$1.Element[];
1498
1522
  /**
1499
1523
  * Adds styled @ for every mention in the text by matching uid
@@ -2006,12 +2030,16 @@ declare abstract class DataSource {
2006
2030
  abstract getAudioMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
2007
2031
  abstract getFileMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
2008
2032
  abstract getBottomView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignment): Element | JSX$1.Element | null;
2033
+ abstract getReplyView(message: CometChat.BaseMessage, alignment?: MessageBubbleAlignment, onReplyPreviewClick?: (messageToReply: CometChat.BaseMessage) => void, textFormatters?: CometChatTextFormatter[]): Element | JSX$1.Element | null;
2034
+ abstract getFooterView(message: CometChat.BaseMessage): Element | JSX$1.Element | null;
2009
2035
  abstract getStatusInfoView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignment, hideReceipts?: boolean, messageSentAtDateTimeFormat?: CalendarObject, showError?: boolean): Element | JSX$1.Element | null;
2010
2036
  abstract getTextMessageContentView(message: CometChat.TextMessage, alignment: MessageBubbleAlignment, otherParams: Object | undefined): Element | JSX$1.Element;
2011
2037
  abstract getImageMessageContentView(message: CometChat.MediaMessage, alignment: MessageBubbleAlignment): Element | JSX$1.Element;
2012
2038
  abstract getVideoMessageContentView(message: CometChat.MediaMessage, alignment: MessageBubbleAlignment): Element | JSX$1.Element;
2013
2039
  abstract getAudioMessageContentView(message: CometChat.MediaMessage, alignment: MessageBubbleAlignment): Element | JSX$1.Element;
2014
2040
  abstract getFileMessageContentView(message: CometChat.MediaMessage, alignment: MessageBubbleAlignment): Element | JSX$1.Element;
2041
+ abstract getMessagePreviewSubtitle(message: CometChat.BaseMessage, textFormatters?: CometChatTextFormatter[], _alignment?: MessageBubbleAlignment): JSX$1.Element | null;
2042
+ abstract getMessagePreviewTitle(message: CometChat.BaseMessage, _alignment?: MessageBubbleAlignment): JSX$1.Element | null;
2015
2043
  abstract getAgentAssistantMessageTemplate(additionalConfigurations?: Object | undefined): CometChatMessageTemplate;
2016
2044
  abstract getToolArgumentsMessageTemplate(additionalConfigurations?: Object | undefined): CometChatMessageTemplate;
2017
2045
  abstract getToolResultsMessageTemplate(additionalConfigurations?: Object | undefined): CometChatMessageTemplate;
@@ -2029,7 +2057,7 @@ declare abstract class DataSource {
2029
2057
  abstract getAttachmentOptions(id: ComposerId, additionalConfigurations?: any): CometChatMessageComposerAction[];
2030
2058
  abstract getAllMessageTypes(): Array<string>;
2031
2059
  abstract getAllMessageCategories(additionalConfigurations?: Object | undefined): Array<string>;
2032
- abstract getStickerButton(id: ComposerId, user?: CometChat.User, group?: CometChat.Group): JSX$1.Element | undefined;
2060
+ abstract getStickerButton(id: ComposerId, user?: CometChat.User, group?: CometChat.Group, messageToReply?: CometChat.BaseMessage | null, closeReplyPreview?: () => void): JSX$1.Element | undefined;
2033
2061
  abstract getId(): string;
2034
2062
  abstract getDeleteMessageBubble(messageObject: CometChat.BaseMessage, text?: string, alignment?: MessageBubbleAlignment): Element | JSX$1.Element;
2035
2063
  abstract getGroupActionBubble(message: CometChat.BaseMessage): Element | JSX$1.Element;
@@ -2219,6 +2247,10 @@ declare abstract class DataSourceDecorator implements DataSource {
2219
2247
  getFileMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
2220
2248
  getStatusInfoView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignment, hideReceipts?: boolean, messageSentAtDateTimeFormat?: CalendarObject, showError?: boolean): Element | JSX$1.Element | null;
2221
2249
  getBottomView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignment): Element | JSX$1.Element | null;
2250
+ getReplyView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignment, onReplyPreviewClick?: (messageToReply: CometChat.BaseMessage) => void, textFormatters?: CometChatTextFormatter[]): Element | JSX$1.Element | null;
2251
+ getFooterView(message: CometChat.BaseMessage): Element | JSX$1.Element | null;
2252
+ getMessagePreviewSubtitle(message: CometChat.BaseMessage, textFormatters?: CometChatTextFormatter[], _alignment?: MessageBubbleAlignment): JSX$1.Element | null;
2253
+ getMessagePreviewTitle(message: CometChat.BaseMessage, _alignment?: MessageBubbleAlignment): JSX$1.Element | null;
2222
2254
  getTextMessageContentView(message: CometChat.TextMessage, alignment: MessageBubbleAlignment, additionalConfigurations?: Object | undefined): Element | JSX$1.Element;
2223
2255
  getImageMessageContentView(message: CometChat.MediaMessage, alignment: MessageBubbleAlignment): Element | JSX$1.Element;
2224
2256
  getVideoMessageContentView(message: CometChat.MediaMessage, alignment: MessageBubbleAlignment): Element | JSX$1.Element;
@@ -2241,7 +2273,7 @@ declare abstract class DataSourceDecorator implements DataSource {
2241
2273
  getAttachmentOptions(id: ComposerId, additionalConfigurations?: any): CometChatMessageComposerAction[];
2242
2274
  getAllMessageTypes(): string[];
2243
2275
  getAllMessageCategories(additionalConfigurations?: Object | undefined): string[];
2244
- getStickerButton(id: ComposerId, user?: CometChat.User, group?: CometChat.Group): JSX$1.Element | undefined;
2276
+ getStickerButton(id: ComposerId, user?: CometChat.User, group?: CometChat.Group, messageToReply?: CometChat.BaseMessage | null, closeReplyPreview?: () => void): JSX$1.Element | undefined;
2245
2277
  getId(): string;
2246
2278
  getDeleteMessageBubble(messageObject: CometChat.BaseMessage, text?: string, alignment?: MessageBubbleAlignment): Element | JSX$1.Element;
2247
2279
  getGroupActionBubble(message: CometChat.BaseMessage): Element | JSX$1.Element;
@@ -2972,6 +3004,8 @@ declare class PollsExtensionDecorator extends DataSourceDecorator {
2972
3004
  configuration?: PollsConfiguration;
2973
3005
  /** The data source used by this decorator. */
2974
3006
  newDataSource: DataSource;
3007
+ /** The message that is being replied to. */
3008
+ replyToMessage: CometChat.BaseMessage | undefined;
2975
3009
  /**
2976
3010
  * Constructs a PollsExtensionDecorator instance.
2977
3011
  * @param dataSource - The data source to decorate.
@@ -3149,7 +3183,7 @@ declare class StickersExtensionDecorator extends DataSourceDecorator {
3149
3183
  * @param group - Optional group object.
3150
3184
  * @returns An array of auxiliary options.
3151
3185
  */
3152
- getStickerButton(id: ComposerId, user?: CometChat.User, group?: CometChat.Group): react_jsx_runtime.JSX.Element;
3186
+ getStickerButton(id: ComposerId, user?: CometChat.User, group?: CometChat.Group, messageToReply?: CometChat.BaseMessage | null, closeReplyPreview?: () => void): react_jsx_runtime.JSX.Element;
3153
3187
  /**
3154
3188
  * Creates the sticker auxiliary button component.
3155
3189
  * @param id - A map containing relevant IDs.
@@ -3158,12 +3192,12 @@ declare class StickersExtensionDecorator extends DataSourceDecorator {
3158
3192
  * @param group - Optional group object.
3159
3193
  * @returns The JSX element for the sticker auxiliary button.
3160
3194
  */
3161
- getStickerAuxiliaryButton: (id: ComposerId, user?: CometChat.User, group?: CometChat.Group) => react_jsx_runtime.JSX.Element;
3195
+ getStickerAuxiliaryButton: (id: ComposerId, user?: CometChat.User, group?: CometChat.Group, messageToReply?: CometChat.BaseMessage | null, onReplyPreviewClose?: () => void) => react_jsx_runtime.JSX.Element;
3162
3196
  /**
3163
3197
  * Sends a sticker message.
3164
3198
  * @param event - The event object containing sticker details.
3165
3199
  */
3166
- sendSticker(event: any, closeSticker: Function, id: ComposerId): void;
3200
+ sendSticker(event: any, closeSticker: Function, id: ComposerId, messageToReply?: CometChat.BaseMessage | null, onReplyPreviewClose?: () => void): void;
3167
3201
  /**
3168
3202
  * Sends a sticker message.
3169
3203
  * @param event - The event object containing sticker details.
@@ -4338,6 +4372,11 @@ interface MessageListProps {
4338
4372
  * @default false
4339
4373
  */
4340
4374
  hideReplyInThreadOption?: boolean;
4375
+ /**
4376
+ * Hides the reply option for a message.
4377
+ * @default false
4378
+ */
4379
+ hideReplyOption?: boolean;
4341
4380
  /**
4342
4381
  * Hides the option to translate messages.
4343
4382
  * @default false
@@ -4436,10 +4475,10 @@ interface MessageListProps {
4436
4475
  */
4437
4476
  customSoundForMessages?: string;
4438
4477
  /**
4439
- * Specifies the keywords in incoming messages that will trigger Smart Replies.
4440
- * If set to an empty array [], Smart Replies will be generated for all messages.
4441
- * @default ['what', 'when', 'why', 'who', 'where', 'how', '?']
4442
- */
4478
+ * Specifies the keywords in incoming messages that will trigger Smart Replies.
4479
+ * If set to an empty array [], Smart Replies will be generated for all messages.
4480
+ * @default ['what', 'when', 'why', 'who', 'where', 'how', '?']
4481
+ */
4443
4482
  smartRepliesKeywords?: string[];
4444
4483
  /**
4445
4484
  * Specifies the delay in milliseconds before Smart Replies are displayed.
@@ -4495,20 +4534,20 @@ interface MessageListProps {
4495
4534
  */
4496
4535
  footerView?: JSX$1.Element;
4497
4536
  /**
4498
- * Format for the date separators in the message list.
4499
- */
4537
+ * Format for the date separators in the message list.
4538
+ */
4500
4539
  separatorDateTimeFormat?: CalendarObject;
4501
4540
  /**
4502
- * Format for sticky date headers displayed in the message list.
4503
- */
4541
+ * Format for sticky date headers displayed in the message list.
4542
+ */
4504
4543
  stickyDateTimeFormat?: CalendarObject;
4505
4544
  /**
4506
- * Format for the timestamp displayed next to messages.
4507
- */
4545
+ * Format for the timestamp displayed next to messages.
4546
+ */
4508
4547
  messageSentAtDateTimeFormat?: CalendarObject;
4509
4548
  /**
4510
- * Format for timestamps displayed in message details (e.g., delivery or read time).
4511
- */
4549
+ * Format for timestamps displayed in message details (e.g., delivery or read time).
4550
+ */
4512
4551
  messageInfoDateTimeFormat?: CalendarObject;
4513
4552
  /**
4514
4553
  * ID of the message to automatically scroll to when the message list loads.
@@ -4517,9 +4556,9 @@ interface MessageListProps {
4517
4556
  */
4518
4557
  goToMessageId?: string;
4519
4558
  /**
4520
- * Controls the visibility of the scrollbar in the list.
4521
- * @defaultValue `false`
4522
- */
4559
+ * Controls the visibility of the scrollbar in the list.
4560
+ * @defaultValue `false`
4561
+ */
4523
4562
  showScrollbar?: boolean;
4524
4563
  /**
4525
4564
  * Toggles AI Agent functionality.
@@ -5066,6 +5105,7 @@ interface IGroupLeft {
5066
5105
  declare class CometChatMessageEvents {
5067
5106
  static ccMessageSent: Subject<IMessages>;
5068
5107
  static ccMessageEdited: Subject<IMessages>;
5108
+ static ccReplyToMessage: Subject<IMessages>;
5069
5109
  static ccMessageTranslated: Subject<IMessages>;
5070
5110
  static ccMessageRead: Subject<CometChat.BaseMessage>;
5071
5111
  static ccMessageDeleted: Subject<CometChat.BaseMessage>;
@@ -5424,7 +5464,7 @@ interface FullScreenViewerProps {
5424
5464
  /**
5425
5465
  * The media message containing the image.
5426
5466
  */
5427
- message: CometChat.MediaMessage;
5467
+ message: CometChat.BaseMessage;
5428
5468
  /**
5429
5469
  * Format for timestamps associated with images in the message list.
5430
5470
  */
@@ -5545,6 +5585,34 @@ interface DeleteBubbleProps {
5545
5585
  */
5546
5586
  declare const CometChatDeleteBubble: (props: DeleteBubbleProps) => react_jsx_runtime.JSX.Element;
5547
5587
 
5588
+ /**
5589
+ * Interface for the props used in the CometChatMessagePreview component.
5590
+ */
5591
+ interface CometChatMessagePreviewProps {
5592
+ /** The title to display in the preview, defaults to "Edit Message"*/
5593
+ previewTitle?: JSX.Element | null;
5594
+ /** To hide the close icon in the preview */
5595
+ hideCloseButton?: boolean;
5596
+ /** The subtitle to display in the preview, can be left empty. */
5597
+ previewSubtitle?: JSX.Element | null;
5598
+ /** Callback function that triggers when the close button is clicked. */
5599
+ onClose?: () => void;
5600
+ /** Message object replying to */
5601
+ message?: CometChat.BaseMessage;
5602
+ /** Moderation status of the message that is being replied */
5603
+ isMessageModerated?: boolean;
5604
+ /** Text formatters for message bubble */
5605
+ textFormatters?: CometChatTextFormatter[];
5606
+ }
5607
+ /**
5608
+ * CometChatMessagePreview Component
5609
+ *
5610
+ * A React component that displays a preview of a message that is being replied with a title and subtitle.
5611
+ * @param {CometChatMessagePreviewProps} props - The props for the component.
5612
+ * @returns {JSX.Element} A JSX element displaying the edit preview UI.
5613
+ */
5614
+ declare const CometChatMessagePreview: FC<CometChatMessagePreviewProps>;
5615
+
5548
5616
  interface ReactionInfoProps {
5549
5617
  messageObject: CometChat.BaseMessage;
5550
5618
  reaction: string;
@@ -6715,6 +6783,7 @@ interface AIAssistantChatProps {
6715
6783
  emptyChatIntroMessageView?: React__default.JSX.Element;
6716
6784
  emptyChatImageView?: React__default.JSX.Element;
6717
6785
  aiAssistantTools?: CometChatAIAssistantTools;
6786
+ templates?: CometChatMessageTemplate[];
6718
6787
  }
6719
6788
  declare const CometChatAIAssistantChat: React__default.MemoExoticComponent<(props: AIAssistantChatProps) => react_jsx_runtime.JSX.Element>;
6720
6789
 
@@ -6805,5 +6874,5 @@ interface CometChatAIAssistantChatHistoryProps {
6805
6874
  }
6806
6875
  declare const CometChatAIAssistantChatHistory: (props: CometChatAIAssistantChatHistoryProps) => react_jsx_runtime.JSX.Element;
6807
6876
 
6808
- export { AuxiliaryButtonAlignment, ButtonAction, CalendarObject, CallButtonConfiguration, CallWorkflow, CallingConfiguration, CallingDetailsUtils, CallingExtension, CallingExtensionDecorator, ChatConfigurator, ChatSdkEventInitializer, CollaborativeDocumentConfiguration, CollaborativeDocumentExtension, CollaborativeDocumentExtensionDecorator, CollaborativeWhiteBoardExtensionDecorator, CollaborativeWhiteboardConfiguration, CollaborativeWhiteboardExtension, CometChatAIAssistantChat, CometChatAIAssistantChatHistory, CometChatAIAssistantMessageBubble, CometChatAIAssistantTools, CometChatActionBubble, CometChatActionSheet, CometChatActions, CometChatActionsIcon, CometChatActionsView, CometChatAudioBubble, CometChatAvatar, CometChatButton, CometChatCallBubble, CometChatCallButtons, CometChatCallEvents, CometChatCallLogs, CometChatChangeScope, CometChatCheckbox, CometChatConfirmDialog, CometChatContextMenu, CometChatConversationEvents, CometChatConversations, CometChatDate, CometChatDeleteBubble, CometChatDocumentBubble, CometChatDropDown, CometChatEditPreview, CometChatEmojiKeyboard, CometChatErrorView, CometChatFileBubble, CometChatFrameProvider, CometChatFullScreenViewer, CometChatGroupEvents, CometChatGroupMembers, CometChatGroups, CometChatImageBubble, CometChatIncomingCall, CometChatList, CometChatListItem, CometChatLocalize, CometChatMediaRecorder, CometChatMentionsFormatter, CometChatMessageBubble, CometChatMessageComposer, CometChatMessageComposerAction, CometChatMessageEvents, CometChatMessageHeader, CometChatMessageInformation, CometChatMessageList, CometChatMessageOption, CometChatMessageTemplate, CometChatOngoingCall, CometChatOption, CometChatOutgoingCall, CometChatPopover, CometChatRadioButton, CometChatReactionInfo, CometChatReactionList, CometChatReactions, CometChatSearch, CometChatSearchBar, CometChatSearchFilter, CometChatSearchScope, CometChatStreamMessageBubble, CometChatTextBubble, CometChatTextFormatter, CometChatTextHighlightFormatter, CometChatThreadHeader, CometChatToast, CometChatUIEvents, CometChatUIKit, CometChatUIKitCalls, CometChatUIKitConstants, CometChatUIKitLoginListener, CometChatUIKitUtility, CometChatUrlsFormatter, CometChatUserEvents, CometChatUserMemberWrapper, CometChatUsers, CometChatUtilityConstants, CometChatVideoBubble, ConversationUtils, DataSource, DataSourceDecorator, DateTimePickerMode, DocumentIconAlignment, ElementType, EnterKeyBehavior, ExtensionsDataSource, GroupMemberUtils, HTTPSRequestMethods, IconButtonAlignment, LabelAlignment, LinkPreviewExtension, LinkPreviewExtensionDecorator, MentionsTargetElement, MentionsVisibility, MessageBubbleAlignment, MessageListAlignment, MessageReceiptUtils, MessageStatus, MessageTranslationExtension, MessageTranslationExtensionDecorator, MessageUtils, MessagesDataSource, MouseEventSource, OutgoingCallConfiguration, PanelAlignment, Placement$1 as Placement, PollsConfiguration, PollsExtension, PollsExtensionDecorator, PreviewMessageMode, Receipts, RecordingType, SelectionMode, States, StickersExtension, StickersExtensionDecorator, StorageUtils, TabAlignment, TabsVisibility, ThumbnailGenerationExtension, ThumbnailGenerationExtensionDecorator, TimestampAlignment, TitleAlignment, UIKitSettings, UIKitSettingsBuilder, UserMemberListType, closeCurrentMediaPlayer, convertMinutesToHoursMinutesSeconds, convertSecondsToHoursMinutesSeconds, createMessageCopy, currentAudioPlayer, currentMediaPlayer, decodeHTML, downloadRecordingFromURL, fireClickEvent, formatDateFromTimestamp, getAIAssistantTools, getCommonDateFormat, getLocalizedString, getStreamSpeed, getThemeMode, getThemeVariable, handleWebsocketMessage, hasLink, hasValidConversationSearchCriteria, hasValidMessageSearchCriteria, isDarkMode, isMessageSentByMe, isMissedCall, isMobileDevice, isMonthDifferent, isSafari, isSentByMe, isURL, messageStream, processFileForAudio, sanitizeCalendarObject, sanitizeHtml, sanitizeHtmlStringToFragment, sanitizeToSpanOnly, setAIAssistantTools, setStreamSpeed, startStreamingMessage, stopStreamingMessage, streamingState$, useCometChatErrorHandler, useCometChatFrameContext, useDebouncedCallback, useRefSync, useStateRef, verifyCallUser };
6877
+ export { AuxiliaryButtonAlignment, ButtonAction, CalendarObject, CallButtonConfiguration, CallWorkflow, CallingConfiguration, CallingDetailsUtils, CallingExtension, CallingExtensionDecorator, ChatConfigurator, ChatSdkEventInitializer, CollaborativeDocumentConfiguration, CollaborativeDocumentExtension, CollaborativeDocumentExtensionDecorator, CollaborativeWhiteBoardExtensionDecorator, CollaborativeWhiteboardConfiguration, CollaborativeWhiteboardExtension, CometChatAIAssistantChat, CometChatAIAssistantChatHistory, CometChatAIAssistantMessageBubble, CometChatAIAssistantTools, CometChatActionBubble, CometChatActionSheet, CometChatActions, CometChatActionsIcon, CometChatActionsView, CometChatAudioBubble, CometChatAvatar, CometChatButton, CometChatCallBubble, CometChatCallButtons, CometChatCallEvents, CometChatCallLogs, CometChatChangeScope, CometChatCheckbox, CometChatConfirmDialog, CometChatContextMenu, CometChatConversationEvents, CometChatConversations, CometChatDate, CometChatDeleteBubble, CometChatDocumentBubble, CometChatDropDown, CometChatEditPreview, CometChatEmojiKeyboard, CometChatErrorView, CometChatFileBubble, CometChatFrameProvider, CometChatFullScreenViewer, CometChatGroupEvents, CometChatGroupMembers, CometChatGroups, CometChatImageBubble, CometChatIncomingCall, CometChatList, CometChatListItem, CometChatLocalize, CometChatMediaRecorder, CometChatMentionsFormatter, CometChatMessageBubble, CometChatMessageComposer, CometChatMessageComposerAction, CometChatMessageEvents, CometChatMessageHeader, CometChatMessageInformation, CometChatMessageList, CometChatMessageOption, CometChatMessagePreview, CometChatMessageTemplate, CometChatOngoingCall, CometChatOption, CometChatOutgoingCall, CometChatPopover, CometChatRadioButton, CometChatReactionInfo, CometChatReactionList, CometChatReactions, CometChatSearch, CometChatSearchBar, CometChatSearchFilter, CometChatSearchScope, CometChatStreamMessageBubble, CometChatTextBubble, CometChatTextFormatter, CometChatTextHighlightFormatter, CometChatThreadHeader, CometChatToast, CometChatUIEvents, CometChatUIKit, CometChatUIKitCalls, CometChatUIKitConstants, CometChatUIKitLoginListener, CometChatUIKitUtility, CometChatUrlsFormatter, CometChatUserEvents, CometChatUserMemberWrapper, CometChatUsers, CometChatUtilityConstants, CometChatVideoBubble, ConversationUtils, DataSource, DataSourceDecorator, DateTimePickerMode, DocumentIconAlignment, ElementType, EnterKeyBehavior, ExtensionsDataSource, GroupMemberUtils, HTTPSRequestMethods, IconButtonAlignment, LabelAlignment, LinkPreviewExtension, LinkPreviewExtensionDecorator, MentionsTargetElement, MentionsVisibility, MessageBubbleAlignment, MessageListAlignment, MessageReceiptUtils, MessageStatus, MessageTranslationExtension, MessageTranslationExtensionDecorator, MessageUtils, MessagesDataSource, MouseEventSource, OutgoingCallConfiguration, PanelAlignment, Placement$1 as Placement, PollsConfiguration, PollsExtension, PollsExtensionDecorator, PreviewMessageMode, Receipts, RecordingType, SelectionMode, States, StickersExtension, StickersExtensionDecorator, StorageUtils, TabAlignment, TabsVisibility, ThumbnailGenerationExtension, ThumbnailGenerationExtensionDecorator, TimestampAlignment, TitleAlignment, UIKitSettings, UIKitSettingsBuilder, UserMemberListType, closeCurrentMediaPlayer, convertMinutesToHoursMinutesSeconds, convertSecondsToHoursMinutesSeconds, createMessageCopy, currentAudioPlayer, currentMediaPlayer, decodeHTML, downloadRecordingFromURL, fireClickEvent, formatDateFromTimestamp, getAIAssistantTools, getCommonDateFormat, getLocalizedString, getStreamSpeed, getThemeMode, getThemeVariable, handleWebsocketMessage, hasLink, hasValidConversationSearchCriteria, hasValidMessageSearchCriteria, isDarkMode, isMessageSentByMe, isMissedCall, isMobileDevice, isMonthDifferent, isSafari, isSentByMe, isURL, messageStream, processFileForAudio, sanitizeCalendarObject, sanitizeHtml, sanitizeHtmlStringToFragment, sanitizeToSpanOnly, setAIAssistantTools, setStreamSpeed, startStreamingMessage, stopStreamingMessage, streamingState$, useCometChatErrorHandler, useCometChatFrameContext, useDebouncedCallback, useRefSync, useStateRef, verifyCallUser };
6809
6878
  export type { IActiveChatChanged, IDialog, IGroupLeft, IGroupMemberAdded, IGroupMemberJoined, IGroupMemberKickedBanned, IGroupMemberScopeChanged, IGroupMemberUnBanned, IMentionsCountWarning, IMessages, IModal, IMouseEvent, IOpenChat, IOwnershipChanged, IPanel, IShowOngoingCall, IStreamData, LocalizationSettings, PollOptions };