@microsoft/teams-js 2.19.0-beta.0 → 2.19.0-beta.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.
- package/dist/MicrosoftTeams.d.ts +35 -17
- package/dist/MicrosoftTeams.js +1169 -1717
- package/dist/MicrosoftTeams.js.map +1 -1
- package/dist/MicrosoftTeams.min.js +1 -1
- package/dist/MicrosoftTeams.min.js.map +1 -1
- package/package.json +1 -1
package/dist/MicrosoftTeams.d.ts
CHANGED
@@ -156,6 +156,14 @@ export interface FilePreviewParameters {
|
|
156
156
|
* Limited to Microsoft-internal use
|
157
157
|
*/
|
158
158
|
type: string;
|
159
|
+
/**
|
160
|
+
* @hidden
|
161
|
+
* The size of the file in bytes.
|
162
|
+
*
|
163
|
+
* @internal
|
164
|
+
* Limited to Microsoft-internal use
|
165
|
+
*/
|
166
|
+
sizeInBytes?: number;
|
159
167
|
/**
|
160
168
|
* @hidden
|
161
169
|
* A url to the source of the file, used to open the content in the user's default browser
|
@@ -628,7 +636,7 @@ export namespace externalAppAuthentication {
|
|
628
636
|
*/
|
629
637
|
interface IQueryMessageExtensionResponse {
|
630
638
|
responseType: InvokeResponseType.QueryMessageExtensionResponse;
|
631
|
-
composeExtension
|
639
|
+
composeExtension?: ComposeExtensionResponse;
|
632
640
|
}
|
633
641
|
/**
|
634
642
|
* @hidden
|
@@ -824,20 +832,6 @@ export namespace externalAppCardActions {
|
|
824
832
|
id: string;
|
825
833
|
data: string | Record<string, unknown>;
|
826
834
|
}
|
827
|
-
/**
|
828
|
-
* @hidden
|
829
|
-
* The configuration for Adaptive Card Action.Submit. This indicates which subtypes of actions are supported by the calling app.
|
830
|
-
* @internal
|
831
|
-
* Limited to Microsoft-internal use
|
832
|
-
*/
|
833
|
-
interface ICardActionsConfig {
|
834
|
-
enableImback: boolean;
|
835
|
-
enableInvoke: boolean;
|
836
|
-
enableDialog: boolean;
|
837
|
-
enableStageView: boolean;
|
838
|
-
enableSignIn: boolean;
|
839
|
-
enableO365Submit: boolean;
|
840
|
-
}
|
841
835
|
/**
|
842
836
|
*
|
843
837
|
* @hidden
|
@@ -870,7 +864,7 @@ export namespace externalAppCardActions {
|
|
870
864
|
* @param cardActionsConfig The card actions configuration. This indicates which subtypes should be handled by this API
|
871
865
|
* @returns Promise that resolves when the request is completed and rejects with ActionSubmitError if the request fails
|
872
866
|
*/
|
873
|
-
function processActionSubmit(appId: string, actionSubmitPayload: IAdaptiveCardActionSubmit
|
867
|
+
function processActionSubmit(appId: string, actionSubmitPayload: IAdaptiveCardActionSubmit): Promise<void>;
|
874
868
|
/**
|
875
869
|
* @beta
|
876
870
|
* @hidden
|
@@ -6743,6 +6737,14 @@ export namespace meeting {
|
|
6743
6737
|
message?: string;
|
6744
6738
|
};
|
6745
6739
|
}
|
6740
|
+
/** Defines additional sharing options which can be provided to the {@link shareAppContentToStage} API. */
|
6741
|
+
interface IShareAppContentToStageOptions {
|
6742
|
+
/**
|
6743
|
+
* The protocol option for sharing app content to the meeting stage. Defaults to `Collaborative`.
|
6744
|
+
* See {@link SharingProtocol} for more information.
|
6745
|
+
*/
|
6746
|
+
sharingProtocol?: SharingProtocol;
|
6747
|
+
}
|
6746
6748
|
/** Represents app permission to share contents to meeting. */
|
6747
6749
|
interface IAppContentStageSharingCapabilities {
|
6748
6750
|
/**
|
@@ -7029,6 +7031,20 @@ export namespace meeting {
|
|
7029
7031
|
*/
|
7030
7032
|
GroupCall = "groupCall"
|
7031
7033
|
}
|
7034
|
+
/**
|
7035
|
+
* Represents the protocol option for sharing app content to the meeting stage.
|
7036
|
+
*/
|
7037
|
+
enum SharingProtocol {
|
7038
|
+
/**
|
7039
|
+
* The default protocol for sharing app content to stage. To learn more, visit https://aka.ms/teamsjs/shareAppContentToStage
|
7040
|
+
*/
|
7041
|
+
Collaborative = "Collaborative",
|
7042
|
+
/**
|
7043
|
+
* A read-only protocol for sharing app content to stage, which uses screen sharing in meetings. If provided, this protocol will open
|
7044
|
+
* the specified `contentUrl` passed to the {@link shareAppContentToStage} API in a new instance and screen share that instance.
|
7045
|
+
*/
|
7046
|
+
ScreenShare = "ScreenShare"
|
7047
|
+
}
|
7032
7048
|
/**
|
7033
7049
|
* Allows an app to get the incoming audio speaker setting for the meeting user.
|
7034
7050
|
* To learn more, visit https://aka.ms/teamsjs/getIncomingClientAudioState
|
@@ -7156,8 +7172,10 @@ export namespace meeting {
|
|
7156
7172
|
* `result` can either contain a true value, in case of a successful share or null when the share fails
|
7157
7173
|
* @param appContentUrl - is the input URL to be shared to the meeting stage.
|
7158
7174
|
* the URL origin must be included in your app manifest's `validDomains` field.
|
7175
|
+
* @param shareOptions - is an object that contains additional sharing options. If omitted, the default
|
7176
|
+
* sharing protocol will be `Collaborative`. See {@link IShareAppContentToStageOptions} for more information.
|
7159
7177
|
*/
|
7160
|
-
function shareAppContentToStage(callback: errorCallbackFunctionType, appContentUrl: string): void;
|
7178
|
+
function shareAppContentToStage(callback: errorCallbackFunctionType, appContentUrl: string, shareOptions?: IShareAppContentToStageOptions): void;
|
7161
7179
|
/**
|
7162
7180
|
* Allows an app to request whether the local user's app version has the required app manifest permissions to share content to meeting stage.
|
7163
7181
|
* To learn more, visit https://aka.ms/teamsjs/getAppContentStageSharingCapabilities
|