Skip to content

Commit 57ba425

Browse files
GA 1.22
Co-authored-by: Tomiwa Muyiwa <dolumuyiwa@microsoft.com>
1 parent db45ef6 commit 57ba425

File tree

2 files changed

+94
-7
lines changed

2 files changed

+94
-7
lines changed

MicrosoftTeams.Localization.schema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,10 @@
208208
"^extensions\\[[0]\\]\\.alternates\\[[0-9]\\]\\.alternateIcons\\.highResolutionIcon\\.url$": {
209209
"type": "string",
210210
"maxLength": 2048
211+
},
212+
"^copilotAgents.customEngineAgents\\[0\\]\\.disclaimer.text$": {
213+
"type": "string",
214+
"maxLength": 500
211215
}
212216
},
213217
"required": [ "name.short", "description.short", "description.full" ]

MicrosoftTeams.schema.json

Lines changed: 90 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"manifestVersion": {
1111
"type": "string",
1212
"description": "The version of the schema this manifest is using. This schema version supports extending Teams apps to other parts of the Microsoft 365 ecosystem. More info at https://aka.ms/extendteamsapps.",
13-
"const": "1.21"
13+
"const": "1.22"
1414
},
1515
"version": {
1616
"type": "string",
@@ -350,11 +350,6 @@
350350
}
351351
}
352352
},
353-
"allowBotMessageDeleteByUser": {
354-
"type": "boolean",
355-
"default": false,
356-
"description": "Optional Boolean property that enables users to delete messages sent by bot when set to true. The default value is false, ensuring bot messages cannot be deleted by users unless explicitly opted in."
357-
},
358353
"needsChannelSelector": {
359354
"type": "boolean",
360355
"description": "This value describes whether or not the bot utilizes a user hint to add the bot to a specific channel.",
@@ -870,6 +865,35 @@
870865
"type": "string",
871866
"description": "Resource url of app for acquiring auth token for SSO.",
872867
"maxLength": 2048
868+
},
869+
"nestedAppAuthInfo": {
870+
"type": "array",
871+
"maxItems": 5,
872+
"description": "By including this property, an NAA token based on its contents will be prefetched when the tab is loaded.",
873+
"items": {
874+
"type": "object",
875+
"properties": {
876+
"redirectUri": {
877+
"type": "string",
878+
"description": "Represents the nested app's valid redirect URI (always a base origin)."
879+
},
880+
"scopes": {
881+
"type": "array",
882+
"description": "Represents the stringified list of scopes the access token requested requires. Order must match that of the proceeding NAA request in the app.",
883+
"maxItems": 20,
884+
"items": {
885+
"type": "string"
886+
}
887+
},
888+
"claims": {
889+
"type": "string",
890+
"description": "An optional JSON formatted object of client capabilities that represents if the resource server is CAE capable. Do not use an empty string for this value. If unsupported, keep the field undefined. If supported, use the following string exactly: '{\"access_token\":{\"xms_cc\":{\"values\":[\"CP1\"]}}}'. More info on client capabilities here: https://learn.microsoft.com/en-us/entra/identity-platform/claims-challenge?tabs=dotnet#how-to-communicate-client-capabilities-to-microsoft-entra-id ",
891+
"minLength": 1
892+
}
893+
},
894+
"required": [ "redirectUri", "scopes" ],
895+
"additionalProperties": false
896+
}
873897
}
874898
},
875899
"required": [
@@ -922,6 +946,14 @@
922946
"templateText": {
923947
"type": "string",
924948
"maxLength": 128
949+
},
950+
"allowedIconIds": {
951+
"type": "array",
952+
"description": "An array containing valid icon IDs per activity type.",
953+
"maxItems": 50,
954+
"items": {
955+
"type": "string"
956+
}
925957
}
926958
},
927959
"required": [
@@ -931,6 +963,31 @@
931963
],
932964
"additionalProperties": false
933965
}
966+
},
967+
"activityIcons": {
968+
"type": "array",
969+
"description": "Specify the customized icons that your app can post to a users activity feed",
970+
"maxItems": 50,
971+
"items": {
972+
"type": "object",
973+
"properties": {
974+
"id": {
975+
"type": "string",
976+
"maxLength": 64,
977+
"description": "Represents the unique icon ID."
978+
},
979+
"iconFile": {
980+
"type": "string",
981+
"maxLength": 128,
982+
"description": "Represents the relative path to the icon image. Image should be size 32x32."
983+
}
984+
},
985+
"required": [
986+
"id",
987+
"iconFile"
988+
],
989+
"additionalProperties": false
990+
}
934991
}
935992
},
936993
"additionalProperties": false
@@ -1169,6 +1226,19 @@
11691226
"bot"
11701227
],
11711228
"description": "The type of the Custom Engine Agent. Currently only type bot is supported."
1229+
},
1230+
"disclaimer": {
1231+
"type": "object",
1232+
"properties": {
1233+
"text": {
1234+
"type": "string",
1235+
"description": "The message shown to users before they interact with this application. ",
1236+
"maxLength": 500
1237+
}
1238+
},
1239+
"required": [
1240+
"text"
1241+
]
11721242
}
11731243
},
11741244
"required": [
@@ -1620,7 +1690,9 @@
16201690
"type": "array",
16211691
"items": {
16221692
"$ref": "#/definitions/extensionRibbonsArrayFixedControlItem"
1623-
}
1693+
},
1694+
"minItems": 1,
1695+
"maxItems": 1
16241696
},
16251697
"spamPreProcessingDialog": {
16261698
"$ref": "#/definitions/extensionRibbonsSpamPreProcessingDialog"
@@ -2377,6 +2449,11 @@
23772449
"description": "Specifies the custom text that appears in the preprocessing dialog.",
23782450
"maxLength": 250
23792451
},
2452+
"spamNeverShowAgainOption": {
2453+
"type": "boolean",
2454+
"description": "Indicating if the developer will allow the user to permanently bypass the PreProcessing Dialog for this add-in. \"false\" is the default value if not specified.",
2455+
"default": "false"
2456+
},
23802457
"spamReportingOptions": {
23812458
"type": "object",
23822459
"description": "Specifies whether the bot offers an experience in the context of a channel in a team, in a 1:1 or group chat, or in an experience scoped to an individual user alone. These options are non-exclusive.",
@@ -2394,6 +2471,12 @@
23942471
"minItems": 1,
23952472
"maxItems": 5
23962473
}
2474+
},
2475+
"type": {
2476+
"type": "string",
2477+
"enum": [ "radio", "checkbox" ],
2478+
"description": "Can be set to \"radio\" or \"checkbox\". This determines if Radio Buttons or checkboxes are used for the options. \"checkbox\" is the default if this value is not specified.",
2479+
"default": "checkbox"
23972480
}
23982481
},
23992482
"required": [

0 commit comments

Comments
 (0)