@microsoft/teams-js 2.14.0 → 2.15.0-beta.0
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
CHANGED
@@ -4343,7 +4343,7 @@ export namespace appNotification {
|
|
4343
4343
|
* If no icon is provided, the notification card would be displayed without an icon
|
4344
4344
|
* The url link to where the icon is stored should be provided as the input string
|
4345
4345
|
*/
|
4346
|
-
|
4346
|
+
notificationIconAsString?: string;
|
4347
4347
|
/**
|
4348
4348
|
* This would specify how long a notification would be displayed on the screen for (unit: seconds)
|
4349
4349
|
*
|
@@ -4647,7 +4647,7 @@ export namespace dialog {
|
|
4647
4647
|
*/
|
4648
4648
|
namespace bot {
|
4649
4649
|
/**
|
4650
|
-
* Allows an app to open
|
4650
|
+
* Allows an app to open a dialog that sends submitted data to a bot.
|
4651
4651
|
*
|
4652
4652
|
* @param botUrlDialogInfo - An object containing the parameters of the dialog module including completionBotId.
|
4653
4653
|
* @param submitHandler - Handler that triggers when the dialog has been submitted or closed.
|
package/dist/MicrosoftTeams.js
CHANGED
@@ -2090,7 +2090,7 @@ var _minRuntimeConfigToUninitialize = {
|
|
2090
2090
|
* @hidden
|
2091
2091
|
* Package version.
|
2092
2092
|
*/
|
2093
|
-
var version = "2.
|
2093
|
+
var version = "2.15.0-beta.0";
|
2094
2094
|
|
2095
2095
|
;// CONCATENATED MODULE: ./src/internal/internalAPIs.ts
|
2096
2096
|
|
@@ -2842,7 +2842,7 @@ var dialog;
|
|
2842
2842
|
var bot;
|
2843
2843
|
(function (bot) {
|
2844
2844
|
/**
|
2845
|
-
* Allows an app to open
|
2845
|
+
* Allows an app to open a dialog that sends submitted data to a bot.
|
2846
2846
|
*
|
2847
2847
|
* @param botUrlDialogInfo - An object containing the parameters of the dialog module including completionBotId.
|
2848
2848
|
* @param submitHandler - Handler that triggers when the dialog has been submitted or closed.
|
@@ -5737,7 +5737,7 @@ var appNotification;
|
|
5737
5737
|
return {
|
5738
5738
|
title: notificationDisplayParam.title,
|
5739
5739
|
content: notificationDisplayParam.content,
|
5740
|
-
|
5740
|
+
notificationIconAsString: (_a = notificationDisplayParam.icon) === null || _a === void 0 ? void 0 : _a.href,
|
5741
5741
|
displayDurationInSeconds: notificationDisplayParam.displayDurationInSeconds,
|
5742
5742
|
notificationActionUrlAsString: notificationDisplayParam.notificationActionUrl.href,
|
5743
5743
|
};
|
@@ -5823,7 +5823,7 @@ var appNotification;
|
|
5823
5823
|
throw errorNotSupportedOnPlatform;
|
5824
5824
|
}
|
5825
5825
|
validateNotificationDisplayParams(notificationDisplayParam);
|
5826
|
-
return sendAndHandleSdkError('appNotification.
|
5826
|
+
return sendAndHandleSdkError('appNotification.displayInAppNotification', serializeParam(notificationDisplayParam));
|
5827
5827
|
}
|
5828
5828
|
appNotification.displayInAppNotification = displayInAppNotification;
|
5829
5829
|
/**
|