@microsoft/teams-js 2.0.0-beta.7-dev.6 → 2.0.0-beta.7-dev.7

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.
@@ -200,7 +200,7 @@ export function uploadCustomApp(manifestBlob: Blob, onComplete?: (status: boolea
200
200
  /**
201
201
  * @hidden
202
202
  * Internal use only
203
- * Sends a custom action MessageRequest to Teams or parent window
203
+ * Sends a custom action MessageRequest to host or parent window
204
204
  *
205
205
  * @param actionName - Specifies name of the custom action to be sent
206
206
  * @param args - Specifies additional arguments passed to the action
@@ -693,7 +693,7 @@ export namespace files {
693
693
  * Hide from docs
694
694
  * ------
695
695
  *
696
- * Open a cloud storage file in teams
696
+ * Open a cloud storage file in Teams
697
697
  *
698
698
  * @param file - cloud storage file that should be opened
699
699
  * @param providerCode - Code of the cloud storage folder provider
@@ -736,6 +736,9 @@ export namespace files {
736
736
  }
737
737
 
738
738
  /**
739
+ * @hidden
740
+ * Hide from docs
741
+ * ------
739
742
  * @internal
740
743
  */
741
744
  export namespace legacy {
@@ -751,6 +754,14 @@ export namespace legacy {
751
754
  * @returns Promise resolved containing information about the user joined teams or rejected with error
752
755
  */
753
756
  function getUserJoinedTeams(teamInstanceParameters?: TeamInstanceParameters): Promise<UserJoinedTeamsInformation>;
757
+ /**
758
+ * @hidden
759
+ * Hide from docs
760
+ * ------
761
+ * Checks if teams.fullTrust.joinedTeams capability is supported by the host
762
+ * @returns true if the teams.fullTrust.joinedTeams capability is enabled in
763
+ * runtime.supports.teams.fullTrust.joinedTeams and false if it is disabled
764
+ */
754
765
  function isSupported(): boolean;
755
766
  }
756
767
  /**
@@ -764,12 +775,22 @@ export namespace legacy {
764
775
  */
765
776
  function getConfigSetting(key: string): Promise<string>;
766
777
  /**
767
- * Checks if teams.fullTrust capability is supported currently
778
+ * @hidden
779
+ * Hide from docs
780
+ * ------
781
+ * Checks if teams.fullTrust capability is supported by the host
782
+ * @returns true if the teams.fullTrust capability is enabled in runtime.supports.teams.fullTrust and
783
+ * false if it is disabled
768
784
  */
769
785
  function isSupported(): boolean;
770
786
  }
771
787
  /**
772
- * Checks if teams capability is supported currently
788
+ * @hidden
789
+ * Hide from docs
790
+ * ------
791
+ * Checks if teams capability is supported by the host
792
+ * @returns true if the teams capability is enabled in runtime.supports.teams and
793
+ * false if it is disabled
773
794
  */
774
795
  function isSupported(): boolean;
775
796
  }
@@ -1183,7 +1204,7 @@ export namespace appEntity {
1183
1204
  interface AppEntity {
1184
1205
  /**
1185
1206
  * @hidden
1186
- * App ID of the application
1207
+ * ID of the application
1187
1208
  */
1188
1209
  appId: string;
1189
1210
  /**
@@ -1213,14 +1234,19 @@ export namespace appEntity {
1213
1234
  * --------
1214
1235
  * Open the Tab Gallery and retrieve the app entity
1215
1236
  * @param threadId ID of the thread where the app entity will be created
1216
- * @param categories A list of app categories that will be displayed in the opened tab gallery
1237
+ * @param categories A list of application categories that will be displayed in the opened tab gallery
1217
1238
  * @param subEntityId An object that will be made available to the application being configured
1218
- * through the Teams Context's subEntityId field.
1239
+ * through the Context's subEntityId field.
1219
1240
  * @param callback Callback that will be triggered once the app entity information is available.
1220
1241
  * The callback takes two arguments: an SdkError in case something happened (i.e.
1221
1242
  * no permissions to execute the API) and the app entity configuration, if available
1222
1243
  */
1223
1244
  function selectAppEntity(threadId: string, categories: string[], subEntityId: string, callback: (sdkError?: SdkError, appEntity?: AppEntity) => void): void;
1245
+ /**
1246
+ * Checks if appEntity capability is supported by the host
1247
+ * @returns true if the appEntity capability is enabled in runtime.supports.appEntity and
1248
+ * false if it is disabled
1249
+ */
1224
1250
  function isSupported(): boolean;
1225
1251
  }
1226
1252
 
@@ -1263,6 +1289,12 @@ export namespace teams {
1263
1289
  * provided, the threadId from route params will be used.
1264
1290
  */
1265
1291
  function refreshSiteUrl(threadId: string, callback: (error: SdkError) => void): void;
1292
+ /**
1293
+ * @hidden
1294
+ * Checks if teams capability is supported by the host
1295
+ * @returns true if the teams capability is enabled in runtime.supports.teams and
1296
+ * false if it is disabled
1297
+ */
1266
1298
  function isSupported(): boolean;
1267
1299
  }
1268
1300
 
@@ -3012,17 +3044,17 @@ export namespace dialog {
3012
3044
  */
3013
3045
  export namespace pages {
3014
3046
  /**
3015
- * Return focus to the host. Will move focus forward or backward based on where the app container falls in
3016
- * the F6/Tab accessiblity loop in the host.
3047
+ * Return focus to the host. Will move focus forward or backward based on where the application container falls in
3048
+ * the F6/tab order in the host.
3017
3049
  * @param navigateForward - Determines the direction to focus in host.
3018
3050
  */
3019
3051
  function returnFocus(navigateForward?: boolean): void;
3020
3052
  /**
3021
3053
  * @hidden
3022
3054
  *
3023
- * Registers a handler when focus needs to be passed from teams to the place of choice on app.
3055
+ * Registers a handler for specifying focus when it passes from the host to the application.
3024
3056
  *
3025
- * @param handler - The handler to invoked by the app when they want the focus to be in the place of their choice.
3057
+ * @param handler - The handler for placing focus within the application.
3026
3058
  *
3027
3059
  * @internal
3028
3060
  */
@@ -3039,7 +3071,7 @@ export namespace pages {
3039
3071
  *
3040
3072
  * @param frameInfo - Frame information containing the URL used in the iframe on reload and the URL for when the
3041
3073
  * user clicks 'Go To Website'
3042
- * @param callback - An optional user-set callback that is executed once the app has finished initialization.
3074
+ * @param callback - An optional callback that is executed once the application has finished initialization.
3043
3075
  * @param validMessageOrigins - An optional list of cross-frame message origins. They must have
3044
3076
  * https: protocol otherwise they will be ignored. Example: https:www.example.com
3045
3077
  */
@@ -3079,19 +3111,19 @@ export namespace pages {
3079
3111
  * Navigates the frame to a new cross-domain URL. The domain of this URL must match at least one of the
3080
3112
  * valid domains specified in the validDomains block of the manifest; otherwise, an exception will be
3081
3113
  * thrown. This function needs to be used only when navigating the frame to a URL in a different domain
3082
- * than the current one in a way that keeps the app informed of the change and allows the SDK to
3114
+ * than the current one in a way that keeps the application informed of the change and allows the SDK to
3083
3115
  * continue working.
3084
3116
  * @param url - The URL to navigate the frame to.
3085
3117
  * @returns Promise that resolves when the navigation has completed.
3086
3118
  */
3087
3119
  function navigateCrossDomain(url: string): Promise<void>;
3088
3120
  /**
3089
- * Navigate to the given App ID and Page ID, with optional parameters for a WebURL (if the app cannot
3090
- * be navigated to, such as if it is not installed), Channel ID (for apps installed as a channel tab), and
3091
- * Sub-page ID (for navigating to specific content within the page). This is equivalent to navigating to
3092
- * a deep link with the above data, but does not require the app to build a URL or worry about different
3121
+ * Navigate to the given application ID and page ID, with optional parameters for a WebURL (if the application
3122
+ * cannot be navigated to, such as if it is not installed), Channel ID (for applications installed as a channel tab),
3123
+ * and sub-page ID (for navigating to specific content within the page). This is equivalent to navigating to
3124
+ * a deep link with the above data, but does not require the application to build a URL or worry about different
3093
3125
  * deep link formats for different hosts.
3094
- * @param params Parameters for the navigation
3126
+ * @param params - Parameters for the navigation
3095
3127
  * @returns a promise that will resolve if the navigation was successful
3096
3128
  */
3097
3129
  function navigateToApp(params: NavigateToAppParams): Promise<void>;
@@ -3108,7 +3140,7 @@ export namespace pages {
3108
3140
  */
3109
3141
  function registerFullScreenHandler(handler: (isFullScreen: boolean) => void): void;
3110
3142
  /**
3111
- * Checks if the current application host supports the pages capability
3143
+ * Checks if the pages capability is supported by the host
3112
3144
  * @returns true if the pages capability is enabled in runtime.supports.pages and
3113
3145
  * false if it is disabled
3114
3146
  */
@@ -3118,11 +3150,11 @@ export namespace pages {
3118
3150
  */
3119
3151
  interface NavigateToAppParams {
3120
3152
  /**
3121
- * ID of the App to navigate to
3153
+ * ID of the application to navigate to
3122
3154
  */
3123
3155
  appId: string;
3124
3156
  /**
3125
- * Developer-defined ID of the Page to navigate to within the app (Formerly EntityID)
3157
+ * Developer-defined ID of the Page to navigate to within the application (Formerly EntityID)
3126
3158
  */
3127
3159
  pageId: string;
3128
3160
  /**
@@ -3131,47 +3163,48 @@ export namespace pages {
3131
3163
  webUrl?: string;
3132
3164
  /**
3133
3165
  * Optional developer-defined ID describing the content to navigate to within the Page. This will be passed
3134
- * back to the App via the Context object.
3166
+ * back to the application via the Context object.
3135
3167
  */
3136
3168
  subPageId?: string;
3137
3169
  /**
3138
- * Optional ID of the Teams Channel where the app should be opened
3170
+ * Optional ID of the Teams Channel where the application should be opened
3139
3171
  */
3140
3172
  channelId?: string;
3141
3173
  }
3142
3174
  /**
3143
- * Namespace to interact with the teams specific part of the SDK.
3175
+ * Provides APIs for querying and navigating between contextual tabs of an application. Unlike personal tabs,
3176
+ * contextual tabs are pages associated with a specific context, such as channel or chat.
3144
3177
  */
3145
3178
  namespace tabs {
3146
3179
  /**
3147
- * Navigates the hosted app to the specified tab instance.
3148
- * @param tabInstance The tab instance to navigate to.
3180
+ * Navigates the hosted application to the specified tab instance.
3181
+ * @param tabInstance - The destination tab instance.
3149
3182
  * @returns Promise that resolves when the navigation has completed.
3150
3183
  */
3151
3184
  function navigateToTab(tabInstance: TabInstance): Promise<void>;
3152
3185
  /**
3153
- * Allows an app to retrieve for this user tabs that are owned by this app.
3154
- * If no TabInstanceParameters are passed, the app defaults to favorite teams and favorite channels.
3155
- * @param tabInstanceParameters OPTIONAL Flags that specify whether to scope call to favorite teams or channels.
3186
+ * Retrieves application tabs for the current user.
3187
+ * If no TabInstanceParameters are passed, the application defaults to favorite teams and favorite channels.
3188
+ * @param tabInstanceParameters - An optional set of flags that specify whether to scope call to favorite teams or channels.
3156
3189
  * @returns Promise that resolves with the {@link TabInformation}. Contains information for the user's tabs that are owned by this application {@link TabInstance}.
3157
3190
  */
3158
3191
  function getTabInstances(tabInstanceParameters?: TabInstanceParameters): Promise<TabInformation>;
3159
3192
  /**
3160
- * Allows an app to retrieve the most recently used tabs for this user.
3161
- * @param tabInstanceParameters OPTIONAL Ignored, kept for future use.
3193
+ * Retrieves the most recently used application tabs for the current user.
3194
+ * @param tabInstanceParameters - An optional set of flags. Note this is currently ignored and kept for future use.
3162
3195
  * @returns Promise that resolves with the {@link TabInformation}. Contains information for the users' most recently used tabs {@link TabInstance}.
3163
3196
  */
3164
3197
  function getMruTabInstances(tabInstanceParameters?: TabInstanceParameters): Promise<TabInformation>;
3165
3198
  /**
3166
- * Checks if the current application host supports the pages.tab capability
3199
+ * Checks if the pages.tab capability is supported by the host
3167
3200
  * @returns true if the pages.tabs capability is enabled in runtime.supports.pages.tabs and
3168
3201
  * false if it is disabled
3169
3202
  */
3170
3203
  function isSupported(): boolean;
3171
3204
  }
3172
3205
  /**
3173
- * Namespace to interact with the config-specific part of the SDK.
3174
- * This object is usable only on the config frame.
3206
+ * Provides APIs to interact with the configuration-specific part of the SDK.
3207
+ * This object is usable only on the configuration frame.
3175
3208
  */
3176
3209
  namespace config {
3177
3210
  /**
@@ -3183,24 +3216,24 @@ export namespace pages {
3183
3216
  */
3184
3217
  function initialize(): void;
3185
3218
  /**
3186
- * Sets the validity state for the config.
3187
- * The initial value is false, so the user cannot save the config until this is called with true.
3188
- * @param validityState Indicates whether the save or remove button is enabled for the user.
3219
+ * Sets the validity state for the configuration.
3220
+ * The initial value is false, so the user cannot save the configuration until this is called with true.
3221
+ * @param validityState - Indicates whether the save or remove button is enabled for the user.
3189
3222
  */
3190
3223
  function setValidityState(validityState: boolean): void;
3191
3224
  /**
3192
- * Sets the config for the current instance.
3225
+ * Sets the configuration for the current instance.
3193
3226
  * This is an asynchronous operation; calls to getConfig are not guaranteed to reflect the changed state.
3194
- * @param instanceConfig The desired config for this instance.
3227
+ * @param instanceConfig - The desired configuration for this instance.
3195
3228
  * @returns Promise that resolves when the operation has completed.
3196
3229
  */
3197
3230
  function setConfig(instanceConfig: InstanceConfig): Promise<void>;
3198
3231
  /**
3199
- * Registers a handler for when the user attempts to save the settings. This handler should be used
3232
+ * Registers a handler for when the user attempts to save the configuration. This handler should be used
3200
3233
  * to create or update the underlying resource powering the content.
3201
3234
  * The object passed to the handler must be used to notify whether to proceed with the save.
3202
3235
  * Only one handler can be registered at a time. A subsequent registration replaces an existing registration.
3203
- * @param handler The handler to invoke when the user selects the save button.
3236
+ * @param handler - The handler to invoke when the user selects the Save button.
3204
3237
  */
3205
3238
  function registerOnSaveHandler(handler: (evt: SaveEvent) => void): void;
3206
3239
  /**
@@ -3208,12 +3241,12 @@ export namespace pages {
3208
3241
  * to remove the underlying resource powering the content.
3209
3242
  * The object passed to the handler must be used to indicate whether to proceed with the removal.
3210
3243
  * Only one handler may be registered at a time. Subsequent registrations will override the first.
3211
- * @param handler The handler to invoke when the user selects the remove button.
3244
+ * @param handler - The handler to invoke when the user selects the Remove button.
3212
3245
  */
3213
3246
  function registerOnRemoveHandler(handler: (evt: RemoveEvent) => void): void;
3214
3247
  /**
3215
3248
  * Registers a handler for when the tab configuration is changed by the user
3216
- * @param handler The handler to invoke when the user click on Settings.
3249
+ * @param handler - The handler to invoke when the user clicks on Settings.
3217
3250
  */
3218
3251
  function registerChangeConfigHandler(handler: () => void): void;
3219
3252
  /**
@@ -3231,7 +3264,7 @@ export namespace pages {
3231
3264
  notifySuccess(): void;
3232
3265
  /**
3233
3266
  * Indicates that creation of the underlying resource failed and that the config cannot be saved.
3234
- * @param reason Specifies a reason for the failure. If provided, this string is displayed to the user; otherwise a generic error is displayed.
3267
+ * @param reason - Specifies a reason for the failure. If provided, this string is displayed to the user; otherwise a generic error is displayed.
3235
3268
  */
3236
3269
  notifyFailure(reason?: string): void;
3237
3270
  }
@@ -3246,7 +3279,7 @@ export namespace pages {
3246
3279
  notifySuccess(): void;
3247
3280
  /**
3248
3281
  * Indicates that removal of the underlying resource failed and that the content cannot be removed.
3249
- * @param reason Specifies a reason for the failure. If provided, this string is displayed to the user; otherwise a generic error is displayed.
3282
+ * @param reason - Specifies a reason for the failure. If provided, this string is displayed to the user; otherwise a generic error is displayed.
3250
3283
  */
3251
3284
  notifyFailure(reason?: string): void;
3252
3285
  }
@@ -3260,33 +3293,32 @@ export namespace pages {
3260
3293
  webhookUrl?: string;
3261
3294
  }
3262
3295
  /**
3263
- * Checks if the current application host supports the pages.config capability
3296
+ * Checks if the pages.config capability is supported by the host
3264
3297
  * @returns true if the pages.config capability is enabled in runtime.supports.pages.config and
3265
3298
  * false if it is disabled
3266
3299
  */
3267
3300
  function isSupported(): boolean;
3268
3301
  }
3269
3302
  /**
3270
- * Namespace to interact with the back-stack part of the SDK.
3303
+ * Provides APIs for handling the user's navigational history.
3271
3304
  */
3272
3305
  namespace backStack {
3273
3306
  function _initialize(): void;
3274
3307
  /**
3275
- * Navigates back in the hosted app. See registerBackButtonHandler for more information on when
3276
- * it's appropriate to use this method.
3308
+ * Navigates back in the hosted application. See {@link pages.backStack.registerBackButtonHandler} for notes on usage.
3277
3309
  * @returns Promise that resolves when the navigation has completed.
3278
3310
  */
3279
3311
  function navigateBack(): Promise<void>;
3280
3312
  /**
3281
- * Registers a handler for user presses of the Team client's back button. Experiences that maintain an internal
3282
- * navigation stack should use this handler to navigate the user back within their frame. If an app finds
3313
+ * Registers a handler for user presses of the host client's back button. Experiences that maintain an internal
3314
+ * navigation stack should use this handler to navigate the user back within their frame. If an application finds
3283
3315
  * that after running its back button handler it cannot handle the event it should call the navigateBack
3284
- * method to ask the Teams client to handle it instead.
3285
- * @param handler The handler to invoke when the user presses their Team client's back button.
3316
+ * method to ask the host client to handle it instead.
3317
+ * @param handler - The handler to invoke when the user presses the host client's back button.
3286
3318
  */
3287
3319
  function registerBackButtonHandler(handler: () => boolean): void;
3288
3320
  /**
3289
- * Checks if the current application host supports the pages.backStack capability
3321
+ * Checks if the pages.backStack capability is supported by the host
3290
3322
  * @returns true if the pages.backStack capability is enabled in runtime.supports.pages.backStack and
3291
3323
  * false if it is disabled
3292
3324
  */
@@ -3296,7 +3328,7 @@ export namespace pages {
3296
3328
  * @hidden
3297
3329
  * Hide from docs
3298
3330
  * ------
3299
- * Namespace to interact with the full-trust part of the SDK. Limited to 1P apps
3331
+ * Provides APIs to interact with the full-trust part of the SDK. Limited to 1P applications
3300
3332
  */
3301
3333
  namespace fullTrust {
3302
3334
  /**
@@ -3317,14 +3349,14 @@ export namespace pages {
3317
3349
  * @hidden
3318
3350
  * Hide from docs
3319
3351
  * ------
3320
- * Checks if the current application host supports the pages.fullTrust capability
3352
+ * Checks if the pages.fullTrust capability is supported by the host
3321
3353
  * @returns true if the pages.fullTrust capability is enabled in runtime.supports.pages.fullTrust and
3322
3354
  * false if it is disabled
3323
3355
  */
3324
3356
  function isSupported(): boolean;
3325
3357
  }
3326
3358
  /**
3327
- * Namespace to interact with the app button part of the SDK.
3359
+ * Provides APIs to interact with the app button part of the SDK.
3328
3360
  */
3329
3361
  namespace appButton {
3330
3362
  /**
@@ -3346,7 +3378,7 @@ export namespace pages {
3346
3378
  */
3347
3379
  function onHoverLeave(handler: () => void): void;
3348
3380
  /**
3349
- * Checks if pages.appButton capability is supported currently
3381
+ * Checks if pages.appButton capability is supported by the host
3350
3382
  * @returns true if the pages.appButton capability is enabled in runtime.supports.pages.appButton and
3351
3383
  * false if it is disabled
3352
3384
  */
@@ -4401,6 +4433,11 @@ export namespace teamsCore {
4401
4433
  * @internal
4402
4434
  */
4403
4435
  function registerBeforeUnloadHandler(handler: (readyToUnload: () => void) => boolean): void;
4436
+ /**
4437
+ * Checks if teamsCore capability is supported by the host
4438
+ * @returns true if the teamsCore capability is enabled in runtime.supports.teamsCore and
4439
+ * false if it is disabled
4440
+ */
4404
4441
  function isSupported(): boolean;
4405
4442
  }
4406
4443
 
@@ -4511,7 +4548,7 @@ export namespace video {
4511
4548
  NV12 = 0
4512
4549
  }
4513
4550
  /**
4514
- * Video frame configuration supplied to Teams to customize the generated video frame parameters, like format
4551
+ * Video frame configuration supplied to the host to customize the generated video frame parameters, like format
4515
4552
  */
4516
4553
  interface VideoFrameConfig {
4517
4554
  /**
@@ -4542,21 +4579,29 @@ export namespace video {
4542
4579
  type VideoEffectCallBack = (effectId: string | undefined) => void;
4543
4580
  /**
4544
4581
  * Register to read the video frames in Permissions section
4582
+ * @param frameCallback - The callback to invoke when registerForVideoFrame has completed
4583
+ * @param config - VideoFrameConfig to customize generated video frame parameters
4545
4584
  */
4546
4585
  function registerForVideoFrame(frameCallback: VideoFrameCallback, config: VideoFrameConfig): void;
4547
4586
  /**
4548
- * video extension should call this to notify Teams Client current selected effect parameter changed.
4549
- * If it's pre-meeting, Teams client will call videoEffectCallback immediately then use the videoEffect.
4550
- * in-meeting scenario, we will call videoEffectCallback when apply button clicked.
4587
+ * video extension should call this to notify host client that the current selected effect parameter changed.
4588
+ * If it's pre-meeting, host client will call videoEffectCallback immediately then use the videoEffect.
4589
+ * If it's the in-meeting scenario, we will call videoEffectCallback when apply button clicked.
4551
4590
  *
4552
4591
  * @param effectChangeType - the effect change type.
4553
4592
  * @param effectId - Newly selected effect id.
4554
4593
  */
4555
4594
  function notifySelectedVideoEffectChanged(effectChangeType: EffectChangeType, effectId: string | undefined): void;
4556
4595
  /**
4557
- * Register the video effect callback, Teams client uses this to notify the video extension the new video effect will by applied
4596
+ * Register the video effect callback, host client uses this to notify the video extension the new video effect will by applied
4597
+ * @param callback - The VideoEffectCallback to invoke when registerForVideoEffect has completed
4558
4598
  */
4559
4599
  function registerForVideoEffect(callback: VideoEffectCallBack): void;
4600
+ /**
4601
+ * Checks if video capability is supported by the host
4602
+ * @returns true if the video capability is enabled in runtime.supports.video and
4603
+ * false if it is disabled
4604
+ */
4560
4605
  function isSupported(): boolean;
4561
4606
  }
4562
4607
 
@@ -4619,7 +4664,7 @@ export namespace stageView {
4619
4664
  */
4620
4665
  interface StageViewParams {
4621
4666
  /**
4622
- * The application ID of the Teams application to be opened.
4667
+ * The ID of the Teams application to be opened.
4623
4668
  */
4624
4669
  appId: string;
4625
4670
  /**
@@ -4635,11 +4680,11 @@ export namespace stageView {
4635
4680
  */
4636
4681
  title: string;
4637
4682
  /**
4638
- * The Teams app website URL.
4683
+ * The Teams application website URL.
4639
4684
  */
4640
4685
  websiteUrl?: string;
4641
4686
  /**
4642
- * The entity ID of the Teams app content being opened.
4687
+ * The entity ID of the Teams application content being opened.
4643
4688
  */
4644
4689
  entityId?: string;
4645
4690
  }
@@ -4647,9 +4692,9 @@ export namespace stageView {
4647
4692
  * @hidden
4648
4693
  * Feature is under development
4649
4694
  *
4650
- * Opens a stage view to display a Teams app
4651
- * @param stageViewParams The parameters to pass into the stage view.
4652
- *
4695
+ * Opens a stage view to display a Teams application
4696
+ * @param stageViewParams - The parameters to pass into the stage view.
4697
+ * @returns Promise that resolves once the stage view is closed.
4653
4698
  */
4654
4699
  function open(stageViewParams: StageViewParams): Promise<void>;
4655
4700
  /**
@@ -4659,9 +4704,9 @@ export namespace stageView {
4659
4704
  * @deprecated
4660
4705
  * As of 2.0.0, please use {@link stageView.open stageView.open(): Promise\<void\>} instead.
4661
4706
  *
4662
- * Opens a stage view to display a Teams app
4663
- * @param stageViewParams The parameters to pass into the stage view.
4664
- * Optional; @param callback Callback that will be triggered once the stage view is closed.
4707
+ * Opens a stage view to display a Teams application
4708
+ * @param stageViewParams - The parameters to pass into the stage view.
4709
+ * @param callback - Optional callback that will be triggered once the stage view is closed.
4665
4710
  * The callback takes as an argument an SdkError in case something happened (i.e.
4666
4711
  * no permissions to execute the API)
4667
4712
  */