@azure/communication-react 1.5.1-alpha-202304040013 → 1.5.1-beta.2
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.
- package/CHANGELOG.beta.md +76 -1
- package/CHANGELOG.json +621 -0
- package/dist/communication-react.d.ts +160 -192
- package/dist/dist-cjs/communication-react/index.js +1615 -2195
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +2 -29
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/utils/constants.d.ts +0 -4
- package/dist/dist-esm/chat-component-bindings/src/utils/constants.js +0 -4
- package/dist/dist-esm/chat-component-bindings/src/utils/constants.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +26 -32
- package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js +1 -6
- package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.d.ts +0 -1
- package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +0 -2
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/CaptionsBanner.js +29 -31
- package/dist/dist-esm/react-components/src/components/CaptionsBanner.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.d.ts +1 -2
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +13 -11
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts +1 -2
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +20 -34
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +2 -11
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +9 -47
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +0 -7
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +1 -5
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +3 -10
- package/dist/dist-esm/react-components/src/components/MessageThread.js +36 -57
- package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/index.js +0 -1
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/CaptionsBanner.style.d.ts +13 -0
- package/dist/dist-esm/react-components/src/components/styles/CaptionsBanner.style.js +35 -0
- package/dist/dist-esm/react-components/src/components/styles/CaptionsBanner.style.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +0 -5
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +0 -28
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.d.ts +4 -6
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js +1 -1
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/index.d.ts +0 -1
- package/dist/dist-esm/react-components/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +116 -11
- package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +115 -10
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +115 -10
- package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +116 -11
- package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +115 -10
- package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +115 -10
- package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +115 -10
- package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +115 -10
- package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +116 -11
- package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +115 -10
- package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +116 -11
- package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +115 -10
- package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +115 -10
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +0 -1
- package/dist/dist-esm/react-components/src/theming/icons.js +0 -8
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +1 -20
- package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +0 -20
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +1 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +2 -14
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +0 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +20 -93
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.d.ts +3 -9
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js +1 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +1 -19
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.d.ts +1 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +0 -20
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +87 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +75 -15
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +5 -7
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.d.ts +28 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js +194 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/{common/ControlBar → CallWithChatComposite}/CustomButton.d.ts +16 -19
- package/dist/dist-esm/react-composites/src/composites/{common/ControlBar → CallWithChatComposite}/CustomButton.js +4 -4
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/{common/ControlBar → CallWithChatComposite}/PeopleButton.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/{common/ControlBar → CallWithChatComposite}/PeopleButton.js +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PeopleButton.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/{common/Drawer → CallWithChatComposite}/PreparedMoreDrawer.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/{common/Drawer → CallWithChatComposite}/PreparedMoreDrawer.js +5 -5
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PreparedMoreDrawer.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +1 -7
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +0 -10
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +1 -7
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/{common/ControlBar → CallWithChatComposite/components}/DesktopMoreButton.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/{common/ControlBar → CallWithChatComposite/components}/DesktopMoreButton.js +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/DesktopMoreButton.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/{common/Drawer → CallWithChatComposite/components}/MoreDrawer.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/{common/Drawer → CallWithChatComposite/components}/MoreDrawer.js +5 -4
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +0 -3
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +2 -6
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +0 -11
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.d.ts +1 -4
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js +1 -29
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +3 -88
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +1 -7
- package/dist/dist-esm/react-composites/src/composites/common/icons.js +1 -7
- package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/index.d.ts +0 -3
- package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +17 -3
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +17 -3
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +0 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +17 -3
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +17 -3
- package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +17 -3
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +17 -3
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +17 -3
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +17 -3
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +17 -3
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +17 -3
- package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +17 -3
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +17 -3
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +17 -3
- package/package.json +10 -10
- package/dist/dist-esm/react-components/src/components/Caption.d.ts +0 -21
- package/dist/dist-esm/react-components/src/components/Caption.js +0 -32
- package/dist/dist-esm/react-components/src/components/Caption.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/Captions.style.d.ts +0 -21
- package/dist/dist-esm/react-components/src/components/styles/Captions.style.js +0 -41
- package/dist/dist-esm/react-components/src/components/styles/Captions.style.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +0 -30
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +0 -253
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +0 -165
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js +0 -4
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +0 -1
@@ -295,10 +295,6 @@ export declare type AzureCommunicationCallAdapterOptions = {
|
|
295
295
|
* {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
|
296
296
|
*/
|
297
297
|
roleHint?: Role;
|
298
|
-
/**
|
299
|
-
* Default set of background images for background image picker.
|
300
|
-
*/
|
301
|
-
videoBackgroundImages?: VideoBackgroundImage[];
|
302
298
|
};
|
303
299
|
|
304
300
|
/**
|
@@ -397,26 +393,6 @@ export declare interface BaseCustomStyles {
|
|
397
393
|
root?: IStyle;
|
398
394
|
}
|
399
395
|
|
400
|
-
/**
|
401
|
-
* Content blocked message type.
|
402
|
-
*
|
403
|
-
* Content blocked messages will rendered default value, but applications can provide custom strings and icon to renderers.
|
404
|
-
*
|
405
|
-
* @beta
|
406
|
-
*/
|
407
|
-
export declare interface BlockedMessage extends MessageCommon {
|
408
|
-
messageType: 'blocked';
|
409
|
-
warningText?: string | false;
|
410
|
-
linkText?: string;
|
411
|
-
link?: string;
|
412
|
-
deletedOn?: Date;
|
413
|
-
senderId?: string;
|
414
|
-
senderDisplayName?: string;
|
415
|
-
status?: MessageStatus;
|
416
|
-
attached?: MessageAttachedStatus;
|
417
|
-
mine?: boolean;
|
418
|
-
}
|
419
|
-
|
420
396
|
/**
|
421
397
|
* @beta
|
422
398
|
* Props for BrowserPermissionDeniedIOS component.
|
@@ -755,14 +731,6 @@ export declare interface CallAdapterCallOperations {
|
|
755
731
|
* @beta
|
756
732
|
*/
|
757
733
|
stopVideoBackgroundEffect(): Promise<void>;
|
758
|
-
/**
|
759
|
-
* Override the background picker images for background replacement effect.
|
760
|
-
*
|
761
|
-
* @param backgroundImages - Array of custom background images.
|
762
|
-
*
|
763
|
-
* @beta
|
764
|
-
*/
|
765
|
-
updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[]): void;
|
766
734
|
}
|
767
735
|
|
768
736
|
/**
|
@@ -1183,7 +1151,6 @@ export declare const CallComposite: (props: CallCompositeProps) => JSX.Element;
|
|
1183
1151
|
* @public
|
1184
1152
|
*/
|
1185
1153
|
export declare type CallCompositeIcons = {
|
1186
|
-
ControlBarPeopleButton?: JSX.Element;
|
1187
1154
|
ControlButtonCameraOff?: JSX.Element;
|
1188
1155
|
ControlButtonCameraOn?: JSX.Element;
|
1189
1156
|
ControlButtonEndCall?: JSX.Element;
|
@@ -1232,8 +1199,6 @@ export declare type CallCompositeIcons = {
|
|
1232
1199
|
PeoplePaneOpenDialpad?: JSX.Element;
|
1233
1200
|
DialpadStartCall?: JSX.Element;
|
1234
1201
|
NoticePageInvalidRoom?: JSX.Element;
|
1235
|
-
BlurVideoBackground?: JSX.Element;
|
1236
|
-
RemoveVideoBackgroundEffect?: JSX.Element;
|
1237
1202
|
};
|
1238
1203
|
|
1239
1204
|
/**
|
@@ -1633,26 +1598,6 @@ export declare interface CallCompositeStrings {
|
|
1633
1598
|
* More details text of the page shown to the user when the user attempts to join a room that cannot be found.
|
1634
1599
|
*/
|
1635
1600
|
roomNotFoundDetails?: string;
|
1636
|
-
/**
|
1637
|
-
* Label for the button to open effects and title of the effects
|
1638
|
-
*/
|
1639
|
-
effects?: string;
|
1640
|
-
/**
|
1641
|
-
* Label for the blur video background effect item
|
1642
|
-
*/
|
1643
|
-
blurBackgroundEffectButtonLabel?: string;
|
1644
|
-
/**
|
1645
|
-
* Tooltip text for the blur video background effect item
|
1646
|
-
*/
|
1647
|
-
blurBackgroundTooltip?: string;
|
1648
|
-
/**
|
1649
|
-
* Label for the remove video background effect item
|
1650
|
-
*/
|
1651
|
-
removeBackgroundEffectButtonLabel?: string;
|
1652
|
-
/**
|
1653
|
-
* Tooltip text for the blur video background effect item
|
1654
|
-
*/
|
1655
|
-
removeBackgroundTooltip?: string;
|
1656
1601
|
/**
|
1657
1602
|
* Title text of the page shown to the user when the user attempts to join a room to which they are not invited.
|
1658
1603
|
*/
|
@@ -1731,15 +1676,71 @@ export declare type CallControlDisplayType = 'default' | 'compact';
|
|
1731
1676
|
*
|
1732
1677
|
* @public
|
1733
1678
|
*/
|
1734
|
-
export declare type CallControlOptions =
|
1679
|
+
export declare type CallControlOptions = {
|
1680
|
+
/**
|
1681
|
+
* {@link CallControlDisplayType} to change how the call controls are displayed.
|
1682
|
+
* `'compact'` display type will decreases the size of buttons and hide the labels.
|
1683
|
+
*
|
1684
|
+
* @remarks
|
1685
|
+
* If the composite `formFactor` is set to `'mobile'`, the control bar will always use compact view.
|
1686
|
+
*
|
1687
|
+
* @defaultValue 'default'
|
1688
|
+
*/
|
1689
|
+
displayType?: CallControlDisplayType;
|
1690
|
+
/**
|
1691
|
+
* Show or Hide Camera Button during a call
|
1692
|
+
* @defaultValue true
|
1693
|
+
*/
|
1694
|
+
cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
1695
|
+
disabled: boolean;
|
1696
|
+
};
|
1697
|
+
/**
|
1698
|
+
* Show or Hide EndCall button during a call.
|
1699
|
+
* @defaultValue true
|
1700
|
+
*/
|
1701
|
+
endCallButton?: boolean;
|
1702
|
+
/**
|
1703
|
+
* Show or Hide Microphone button during a call.
|
1704
|
+
* @defaultValue true
|
1705
|
+
*/
|
1706
|
+
microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
1707
|
+
disabled: boolean;
|
1708
|
+
};
|
1709
|
+
/**
|
1710
|
+
* Show or Hide Devices button during a call.
|
1711
|
+
* @defaultValue true
|
1712
|
+
*/
|
1713
|
+
devicesButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
1714
|
+
disabled: boolean;
|
1715
|
+
};
|
1735
1716
|
/**
|
1736
|
-
* Show, Hide or Disable participants button during a call.
|
1717
|
+
* Show, Hide or Disable participants button during a call.
|
1737
1718
|
* @defaultValue true
|
1738
1719
|
*/
|
1739
1720
|
participantsButton?: boolean | {
|
1740
1721
|
disabled: boolean;
|
1741
1722
|
};
|
1742
|
-
|
1723
|
+
/**
|
1724
|
+
* Show, Hide or Disable the screen share button during a call.
|
1725
|
+
* @defaultValue true
|
1726
|
+
*/
|
1727
|
+
screenShareButton?: boolean | {
|
1728
|
+
disabled: boolean;
|
1729
|
+
};
|
1730
|
+
/**
|
1731
|
+
* Show, Hide or disable the more button during a call.
|
1732
|
+
* @defaultValue true
|
1733
|
+
*/
|
1734
|
+
moreButton?: boolean;
|
1735
|
+
/**
|
1736
|
+
* Inject custom buttons in the call controls.
|
1737
|
+
*
|
1738
|
+
* @beta
|
1739
|
+
*/
|
1740
|
+
onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
|
1741
|
+
holdButton?: boolean | {
|
1742
|
+
disabled: boolean;
|
1743
|
+
};
|
1743
1744
|
};
|
1744
1745
|
|
1745
1746
|
/**
|
@@ -2268,7 +2269,6 @@ export declare interface CallWithChatAdapterManagement {
|
|
2268
2269
|
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
2269
2270
|
/** @beta */
|
2270
2271
|
updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
|
2271
|
-
downloadAuthenticatedAttachment?: (attachmentUrl: string) => Promise<string>;
|
2272
2272
|
/**
|
2273
2273
|
* Puts the Call in a Localhold.
|
2274
2274
|
*
|
@@ -2316,14 +2316,6 @@ export declare interface CallWithChatAdapterManagement {
|
|
2316
2316
|
* @beta
|
2317
2317
|
*/
|
2318
2318
|
stopVideoBackgroundEffect(): Promise<void>;
|
2319
|
-
/**
|
2320
|
-
* Override the background picker images for background replacement effect.
|
2321
|
-
*
|
2322
|
-
* @param backgroundImages - Array of custom background images.
|
2323
|
-
*
|
2324
|
-
* @beta
|
2325
|
-
*/
|
2326
|
-
updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[]): void;
|
2327
2319
|
}
|
2328
2320
|
|
2329
2321
|
/**
|
@@ -2438,8 +2430,6 @@ export declare interface CallWithChatClientState {
|
|
2438
2430
|
alternateCallerId?: string | undefined;
|
2439
2431
|
/** Environment information for system adapter is made on */
|
2440
2432
|
environmentInfo?: EnvironmentInfo;
|
2441
|
-
/** Default set of background images for background replacement effect */
|
2442
|
-
videoBackgroundImages?: VideoBackgroundImage[];
|
2443
2433
|
}
|
2444
2434
|
|
2445
2435
|
/**
|
@@ -2767,11 +2757,47 @@ export declare interface CallWithChatCompositeStrings {
|
|
2767
2757
|
}
|
2768
2758
|
|
2769
2759
|
/**
|
2770
|
-
*
|
2760
|
+
* {@link CallWithChatComposite} Call controls to show or hide buttons on the calling control bar.
|
2771
2761
|
*
|
2772
2762
|
* @public
|
2773
2763
|
*/
|
2774
|
-
export declare interface CallWithChatControlOptions
|
2764
|
+
export declare interface CallWithChatControlOptions {
|
2765
|
+
/**
|
2766
|
+
* {@link CallControlDisplayType} to change how the call controls are displayed.
|
2767
|
+
* `'compact'` display type will decreases the size of buttons and hide the labels.
|
2768
|
+
*
|
2769
|
+
* @remarks
|
2770
|
+
* If the composite `formFactor` is set to `'mobile'`, the control bar will always use compact view.
|
2771
|
+
*
|
2772
|
+
* @defaultValue 'default'
|
2773
|
+
*/
|
2774
|
+
displayType?: CallControlDisplayType;
|
2775
|
+
/**
|
2776
|
+
* Show or Hide Microphone button during a call.
|
2777
|
+
* @defaultValue true
|
2778
|
+
*/
|
2779
|
+
microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
2780
|
+
disabled: boolean;
|
2781
|
+
};
|
2782
|
+
/**
|
2783
|
+
* Show or Hide Camera Button during a call
|
2784
|
+
* @defaultValue true
|
2785
|
+
*/
|
2786
|
+
cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
2787
|
+
disabled: boolean;
|
2788
|
+
};
|
2789
|
+
/**
|
2790
|
+
* Show, Hide or Disable the screen share button during a call.
|
2791
|
+
* @defaultValue true
|
2792
|
+
*/
|
2793
|
+
screenShareButton?: boolean | {
|
2794
|
+
disabled: boolean;
|
2795
|
+
};
|
2796
|
+
/**
|
2797
|
+
* Show or Hide EndCall button during a call.
|
2798
|
+
* @defaultValue true
|
2799
|
+
*/
|
2800
|
+
endCallButton?: boolean;
|
2775
2801
|
/**
|
2776
2802
|
* Show or hide the chat button in the call-with-chat composite control bar.
|
2777
2803
|
* @defaultValue true
|
@@ -2779,6 +2805,29 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
2779
2805
|
chatButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
2780
2806
|
disabled: boolean;
|
2781
2807
|
};
|
2808
|
+
/**
|
2809
|
+
* Show or hide the people button in the call-with-chat composite control bar.
|
2810
|
+
* @defaultValue true
|
2811
|
+
*/
|
2812
|
+
peopleButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
2813
|
+
disabled: boolean;
|
2814
|
+
};
|
2815
|
+
/**
|
2816
|
+
* Inject custom buttons in the call controls.
|
2817
|
+
*
|
2818
|
+
* @beta
|
2819
|
+
*/
|
2820
|
+
onFetchCustomButtonProps?: CustomCallWithChatControlButtonCallback[];
|
2821
|
+
/**
|
2822
|
+
* Show or hide the more button in the call-with-chat control bar.
|
2823
|
+
*/
|
2824
|
+
moreButton?: boolean;
|
2825
|
+
/**
|
2826
|
+
* Show or hide the hold button in the bottom sheet drawer
|
2827
|
+
*/
|
2828
|
+
holdButton?: boolean | {
|
2829
|
+
disabled: boolean;
|
2830
|
+
};
|
2782
2831
|
}
|
2783
2832
|
|
2784
2833
|
/**
|
@@ -3441,7 +3490,6 @@ export declare interface ChatMessage extends MessageCommon {
|
|
3441
3490
|
export declare type ChatMessageWithStatus = ChatMessage_2 & {
|
3442
3491
|
clientMessageId?: string;
|
3443
3492
|
status: MessageStatus;
|
3444
|
-
policyViolation?: boolean;
|
3445
3493
|
};
|
3446
3494
|
|
3447
3495
|
/**
|
@@ -3583,85 +3631,6 @@ export declare interface CommonCallAdapter extends AdapterState<CallAdapterState
|
|
3583
3631
|
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): void;
|
3584
3632
|
}
|
3585
3633
|
|
3586
|
-
/**
|
3587
|
-
* Customization options for the control bar in calling experience.
|
3588
|
-
*
|
3589
|
-
* @public
|
3590
|
-
*/
|
3591
|
-
export declare type CommonCallControlOptions = {
|
3592
|
-
/**
|
3593
|
-
* {@link CallControlDisplayType} to change how the call controls are displayed.
|
3594
|
-
* `'compact'` display type will decreases the size of buttons and hide the labels.
|
3595
|
-
*
|
3596
|
-
* @remarks
|
3597
|
-
* If the composite `formFactor` is set to `'mobile'`, the control bar will always use compact view.
|
3598
|
-
*
|
3599
|
-
* @defaultValue 'default'
|
3600
|
-
*/
|
3601
|
-
displayType?: CallControlDisplayType;
|
3602
|
-
/**
|
3603
|
-
* Show or Hide Camera Button during a call
|
3604
|
-
* @defaultValue true
|
3605
|
-
*/
|
3606
|
-
cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
3607
|
-
disabled: boolean;
|
3608
|
-
};
|
3609
|
-
/**
|
3610
|
-
* Show or Hide EndCall button during a call.
|
3611
|
-
* @defaultValue true
|
3612
|
-
*/
|
3613
|
-
endCallButton?: boolean;
|
3614
|
-
/**
|
3615
|
-
* Show or Hide Microphone button during a call.
|
3616
|
-
* @defaultValue true
|
3617
|
-
*/
|
3618
|
-
microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
3619
|
-
disabled: boolean;
|
3620
|
-
};
|
3621
|
-
/**
|
3622
|
-
* Show or Hide Devices button during a call.
|
3623
|
-
* @defaultValue true
|
3624
|
-
*/
|
3625
|
-
devicesButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
3626
|
-
disabled: boolean;
|
3627
|
-
};
|
3628
|
-
/**
|
3629
|
-
* Show, Hide or Disable participants button during a call.
|
3630
|
-
* @defaultValue true
|
3631
|
-
*/
|
3632
|
-
participantsButton?: boolean | {
|
3633
|
-
disabled: boolean;
|
3634
|
-
};
|
3635
|
-
/**
|
3636
|
-
* Show, Hide or Disable the screen share button during a call.
|
3637
|
-
* @defaultValue true
|
3638
|
-
*/
|
3639
|
-
screenShareButton?: boolean | {
|
3640
|
-
disabled: boolean;
|
3641
|
-
};
|
3642
|
-
/**
|
3643
|
-
* Show, Hide or disable the more button during a call.
|
3644
|
-
* @defaultValue true
|
3645
|
-
*/
|
3646
|
-
moreButton?: boolean;
|
3647
|
-
/**
|
3648
|
-
* Inject custom buttons in the call controls.
|
3649
|
-
*
|
3650
|
-
* @beta
|
3651
|
-
*/
|
3652
|
-
onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
|
3653
|
-
holdButton?: boolean | {
|
3654
|
-
disabled: boolean;
|
3655
|
-
};
|
3656
|
-
/**
|
3657
|
-
* Show or hide the people button in the composite control bar.
|
3658
|
-
* @defaultValue true
|
3659
|
-
*/
|
3660
|
-
peopleButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
3661
|
-
disabled: boolean;
|
3662
|
-
};
|
3663
|
-
};
|
3664
|
-
|
3665
3634
|
/**
|
3666
3635
|
* Object containing all the handlers required for calling components.
|
3667
3636
|
*
|
@@ -4264,7 +4233,7 @@ export declare interface ControlBarProps {
|
|
4264
4233
|
*
|
4265
4234
|
* @public
|
4266
4235
|
*/
|
4267
|
-
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId
|
4236
|
+
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
|
4268
4237
|
|
4269
4238
|
/**
|
4270
4239
|
* Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
|
@@ -4445,16 +4414,15 @@ export declare type CustomAvatarOptions = {
|
|
4445
4414
|
};
|
4446
4415
|
|
4447
4416
|
/**
|
4448
|
-
* A callback that returns the props to render a custom {@link ControlBarButton}
|
4417
|
+
* A callback that returns the props to render a custom {@link ControlBarButton}.
|
4449
4418
|
*
|
4450
4419
|
* The response indicates where the custom button should be placed.
|
4451
4420
|
*
|
4452
4421
|
* Performance tip: This callback is only called when either the callback or its arguments change.
|
4422
|
+
*
|
4453
4423
|
* @beta
|
4454
4424
|
*/
|
4455
|
-
declare type CustomCallControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) =>
|
4456
|
-
export { CustomCallControlButtonCallback }
|
4457
|
-
export { CustomCallControlButtonCallback as CustomCallWithChatControlButtonCallback }
|
4425
|
+
export declare type CustomCallControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallControlButtonProps;
|
4458
4426
|
|
4459
4427
|
/**
|
4460
4428
|
* Arguments for {@link CustomCallControlButtonCallback}.
|
@@ -4471,23 +4439,17 @@ export declare interface CustomCallControlButtonCallbackArgs {
|
|
4471
4439
|
}
|
4472
4440
|
|
4473
4441
|
/**
|
4474
|
-
* Placement for a custom button injected in the {@link
|
4442
|
+
* Placement for a custom button injected in the {@link CallControls}.
|
4475
4443
|
*
|
4476
4444
|
* 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
|
4477
|
-
* 'overflow': Place the buttons(s) on the end of the overflow Menu.
|
4478
|
-
* 'secondary': Place the button(s) on the left end of the side control bar (right in rtl mode).
|
4479
4445
|
*
|
4480
4446
|
* Multiple buttons assigned the same placement are appended in order.
|
4481
|
-
* E.g., if two buttons are placed in '
|
4482
|
-
* in the order provided.
|
4483
|
-
*
|
4484
|
-
* Only 'primary' placement works when legacy call control is enabled in call composite
|
4447
|
+
* E.g., if two buttons are placed in 'primary', they'll both appear on the right end (left end in rtl mode)
|
4448
|
+
* before the EndCallButton in the order provided.
|
4485
4449
|
*
|
4486
4450
|
* @beta
|
4487
4451
|
*/
|
4488
|
-
declare type CustomCallControlButtonPlacement = 'primary'
|
4489
|
-
export { CustomCallControlButtonPlacement }
|
4490
|
-
export { CustomCallControlButtonPlacement as CustomCallWithChatControlButtonPlacement }
|
4452
|
+
export declare type CustomCallControlButtonPlacement = 'primary';
|
4491
4453
|
|
4492
4454
|
/**
|
4493
4455
|
* Response from {@link CustomCallControlButtonCallback}.
|
@@ -4510,7 +4472,32 @@ export declare interface CustomCallControlButtonProps extends CustomControlButto
|
|
4510
4472
|
}
|
4511
4473
|
|
4512
4474
|
/**
|
4513
|
-
*
|
4475
|
+
* A callback that returns the props to render a custom {@link ControlBarButton} and {@link DrawerMenuItem}.
|
4476
|
+
*
|
4477
|
+
* The response indicates where the custom button should be placed.
|
4478
|
+
*
|
4479
|
+
* Performance tip: This callback is only called when either the callback or its arguments change.
|
4480
|
+
* @beta
|
4481
|
+
*/
|
4482
|
+
export declare type CustomCallWithChatControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallWithChatControlButtonProps;
|
4483
|
+
|
4484
|
+
/**
|
4485
|
+
* Placement for a custom button injected in the {@link CallWithChatControlBar}.
|
4486
|
+
*
|
4487
|
+
* 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
|
4488
|
+
* 'overflow': Place the buttons(s) on the end of the overflow Menu.
|
4489
|
+
* 'secondary': Place the button(s) on the left end of the side control bar (right in rtl mode).
|
4490
|
+
*
|
4491
|
+
* Multiple buttons assigned the same placement are appended in order.
|
4492
|
+
* E.g., if two buttons are placed in 'secondary', they'll both appear on the left end (right end in rtl mode)
|
4493
|
+
* in the order provided.
|
4494
|
+
*
|
4495
|
+
* @beta
|
4496
|
+
*/
|
4497
|
+
export declare type CustomCallWithChatControlButtonPlacement = 'primary' | 'overflow' | 'secondary';
|
4498
|
+
|
4499
|
+
/**
|
4500
|
+
* Response from {@link CustomCallWithChatControlButtonCallback}.
|
4514
4501
|
*
|
4515
4502
|
* Includes the icon and placement prop necessary to indicate where to place the
|
4516
4503
|
* {@link ControlBarButton} and a {@link DrawerMenuItem}
|
@@ -4521,7 +4508,7 @@ export declare interface CustomCallWithChatControlButtonProps extends CustomCont
|
|
4521
4508
|
/**
|
4522
4509
|
* Where to place the custom button relative to other buttons.
|
4523
4510
|
*/
|
4524
|
-
placement:
|
4511
|
+
placement: CustomCallWithChatControlButtonPlacement;
|
4525
4512
|
/**
|
4526
4513
|
* Icon to render. Icon is a non-default icon name that needs to be registered as a
|
4527
4514
|
* custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
|
@@ -4627,7 +4614,6 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
4627
4614
|
ControlButtonScreenShareStop: JSX.Element;
|
4628
4615
|
CancelFileUpload: JSX.Element;
|
4629
4616
|
DownloadFile: JSX.Element;
|
4630
|
-
DataLossPreventionProhibited: JSX.Element;
|
4631
4617
|
EditBoxCancel: JSX.Element;
|
4632
4618
|
EditBoxSubmit: JSX.Element;
|
4633
4619
|
ErrorBarCallCameraAccessDenied: JSX.Element;
|
@@ -4708,7 +4694,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4708
4694
|
SendBoxSend: JSX.Element;
|
4709
4695
|
SendBoxSendHovered: JSX.Element;
|
4710
4696
|
SendBoxAttachFile?: JSX.Element | undefined;
|
4711
|
-
ControlBarPeopleButton?: JSX.Element | undefined;
|
4712
4697
|
ControlButtonCameraOff: JSX.Element;
|
4713
4698
|
ControlButtonCameraOn: JSX.Element;
|
4714
4699
|
ControlButtonEndCall: JSX.Element;
|
@@ -4755,11 +4740,10 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4755
4740
|
PeoplePaneOpenDialpad?: JSX.Element | undefined;
|
4756
4741
|
DialpadStartCall?: JSX.Element | undefined;
|
4757
4742
|
NoticePageInvalidRoom?: JSX.Element | undefined;
|
4758
|
-
BlurVideoBackground?: JSX.Element | undefined;
|
4759
|
-
RemoveVideoBackgroundEffect?: JSX.Element | undefined;
|
4760
4743
|
ChevronLeft?: JSX.Element | undefined;
|
4761
4744
|
ControlBarChatButtonActive?: JSX.Element | undefined;
|
4762
4745
|
ControlBarChatButtonInactive?: JSX.Element | undefined;
|
4746
|
+
ControlBarPeopleButton?: JSX.Element | undefined;
|
4763
4747
|
Link?: JSX.Element | undefined;
|
4764
4748
|
MoreDrawerMicrophones?: JSX.Element | undefined;
|
4765
4749
|
MoreDrawerPeople?: JSX.Element | undefined;
|
@@ -4770,7 +4754,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4770
4754
|
ControlButtonParticipantsContextualMenuItem: JSX.Element;
|
4771
4755
|
CancelFileUpload: JSX.Element;
|
4772
4756
|
DownloadFile: JSX.Element;
|
4773
|
-
DataLossPreventionProhibited: JSX.Element;
|
4774
4757
|
ErrorBarCallVideoRecoveredBySystem: JSX.Element;
|
4775
4758
|
ErrorBarCallVideoStoppedBySystem: JSX.Element;
|
4776
4759
|
MessageResend: JSX.Element;
|
@@ -5417,8 +5400,6 @@ export declare type FileDownloadHandler = (userId: string, fileMetadata: FileMet
|
|
5417
5400
|
* @beta
|
5418
5401
|
*/
|
5419
5402
|
export declare interface FileMetadata {
|
5420
|
-
attachmentType: FileMetadataAttachmentType;
|
5421
|
-
id: string;
|
5422
5403
|
/**
|
5423
5404
|
* File name to be displayed.
|
5424
5405
|
*/
|
@@ -5433,14 +5414,8 @@ export declare interface FileMetadata {
|
|
5433
5414
|
* Download URL for the file.
|
5434
5415
|
*/
|
5435
5416
|
url: string;
|
5436
|
-
previewUrl?: string;
|
5437
5417
|
}
|
5438
5418
|
|
5439
|
-
/**
|
5440
|
-
* @beta
|
5441
|
-
*/
|
5442
|
-
export declare type FileMetadataAttachmentType = 'fileSharing' | /* @conditional-compile-remove(teams-inline-images) */ 'teamsInlineImage' | 'unknown';
|
5443
|
-
|
5444
5419
|
/**
|
5445
5420
|
* Properties for configuring the File Sharing feature.
|
5446
5421
|
* @beta
|
@@ -5484,7 +5459,6 @@ export declare interface FileUploadAdapter {
|
|
5484
5459
|
updateFileUploadProgress: (id: string, progress: number) => void;
|
5485
5460
|
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
5486
5461
|
updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
|
5487
|
-
downloadAuthenticatedAttachment?: (attachmentUrl: string) => Promise<string>;
|
5488
5462
|
}
|
5489
5463
|
|
5490
5464
|
/**
|
@@ -6022,7 +5996,7 @@ export declare interface MediaDiagnosticsState {
|
|
6022
5996
|
*
|
6023
5997
|
* @public
|
6024
5998
|
*/
|
6025
|
-
export declare type Message = ChatMessage | SystemMessage | CustomMessage
|
5999
|
+
export declare type Message = ChatMessage | SystemMessage | CustomMessage;
|
6026
6000
|
|
6027
6001
|
/**
|
6028
6002
|
* Indicate whether a chat message should be displayed merged with the message before / after it.
|
@@ -6059,7 +6033,7 @@ export declare type MessageContentType = 'text' | 'html' | 'richtext/html' | 'un
|
|
6059
6033
|
*/
|
6060
6034
|
export declare type MessageProps = {
|
6061
6035
|
/**
|
6062
|
-
* Message to render. It can type `ChatMessage` or `SystemMessage
|
6036
|
+
* Message to render. It can type `ChatMessage` or `SystemMessage` or `CustomMessage`.
|
6063
6037
|
*/
|
6064
6038
|
message: Message;
|
6065
6039
|
/**
|
@@ -6234,9 +6208,9 @@ export declare type MessageThreadProps = {
|
|
6234
6208
|
*/
|
6235
6209
|
userId: string;
|
6236
6210
|
/**
|
6237
|
-
* Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage
|
6211
|
+
* Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage` or `CustomMessage`.
|
6238
6212
|
*/
|
6239
|
-
messages: (ChatMessage | SystemMessage | CustomMessage
|
6213
|
+
messages: (ChatMessage | SystemMessage | CustomMessage)[];
|
6240
6214
|
/**
|
6241
6215
|
* number of participants in the thread
|
6242
6216
|
*/
|
@@ -6443,10 +6417,6 @@ export declare interface MessageThreadStrings {
|
|
6443
6417
|
actionMenuMoreOptions?: string;
|
6444
6418
|
/** String for download file button in file card */
|
6445
6419
|
downloadFile: string;
|
6446
|
-
/** String for policy violation message removal */
|
6447
|
-
blockedWarningText: string;
|
6448
|
-
/** String for policy violation message removal details link */
|
6449
|
-
blockedWarningLinkText: string;
|
6450
6420
|
}
|
6451
6421
|
|
6452
6422
|
/**
|
@@ -6473,8 +6443,6 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
|
|
6473
6443
|
chatMessageContainer?: ComponentSlotStyle;
|
6474
6444
|
/** Styles for system message container. */
|
6475
6445
|
systemMessageContainer?: ComponentSlotStyle;
|
6476
|
-
/** Styles for blocked message container. */
|
6477
|
-
blockedMessageContainer?: ComponentSlotStyle;
|
6478
6446
|
/** Styles for message status indicator container. */
|
6479
6447
|
messageStatusContainer?: (mine: boolean) => IStyle;
|
6480
6448
|
}
|