@microsoft/teams-js
Version:
Microsoft Client SDK for building app for Microsoft hosts
22 lines (21 loc) • 599 B
TypeScript
/**
* @hidden
* @internal
* Limited to Microsoft-internal use
* @beta
* @returns boolean to represent whether copilot.view capability is supported
*
* @throws Error if {@linkcode app.initialize} has not successfully completed
*/
export declare function isSupported(): boolean;
/**
* Closes the side panel that is hosting the copilot app.
*
* @throws { Error } - Throws a Error if host SDK returns an error as a response to this call
*
* @hidden
* @beta
* @internal
* Limited to Microsoft-internal use
*/
export declare function closeSidePanel(): Promise<void>;