UNPKG

@azure/communication-react

Version:

React library for building modern communication user experiences utilizing Azure Communication Services

28 lines 1.43 kB
import { CommunicationTokenCredential, CommunicationUserIdentifier } from '@azure/communication-common'; import { CallWithChatAdapter, CallAndChatLocator, CallWithChatCompositeOptions, AzureCommunicationCallAdapterOptions } from "../../react-composites/src/index-public"; /** * Props for the CallWithChatComposite that you can use in your application. * * Contains two options bags: * - adapterOptions: Options for the {@link AzureCommunicationCallAdapterOptions} * - callCompositeOptions: Options for the {@link CallWithChatComposite} {@link CallWithChatCompositeOptions} * @public */ export type CallWithChatCompositeLoaderProps = { userId: CommunicationUserIdentifier; credential: CommunicationTokenCredential; displayName: string; endpoint: string; locator: CallAndChatLocator; callAdapterOptions?: AzureCommunicationCallAdapterOptions; callWithChatCompositeOptions?: CallWithChatCompositeOptions; }; /** * Props for the CallWithChatComposite that you can use in your application. This * function will load the CallWithChatComposite into the provided HTML element. * The best use case for this is in a Node UI framework that is not React based. * * @public */ export declare const loadCallWithChatComposite: (loaderArgs: CallWithChatCompositeLoaderProps, htmlElement: HTMLElement) => Promise<CallWithChatAdapter | undefined>; //# sourceMappingURL=callWithChatCompositeLoader.d.ts.map