microsoft/teams.net

Public

mirrored fromhttps://github.com/microsoft/teams.netAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
next/oauth-card-null-ref-bug

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

core/samples/MessageExtensionBot/manifest.json

123lines · modecode

1{
2 "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.24/MicrosoftTeams.schema.json",
3 "version": "1.0.0",
4 "manifestVersion": "1.24",
5 "id": "YOUR_BOT_ID",
6 "name": {
7 "short": "YOUR_BOT_NAME",
8 "full": "YOUR_BOT_NAME"
9 },
10 "developer": {
11 "name": "Microsoft",
12 "mpnId": "",
13 "websiteUrl": "https://microsoft.com",
14 "privacyUrl": "https://privacy.microsoft.com/privacystatement",
15 "termsOfUseUrl": "https://www.microsoft.com/legal/terms-of-use"
16 },
17 "description": {
18 "short": "YOUR_BOT_NAME",
19 "full": "YOUR_BOT_NAME"
20 },
21 "icons": {
22 "outline": "outline.png",
23 "color": "color.png"
24 },
25 "accentColor": "#FFFFFF",
26 "staticTabs": [
27 {
28 "entityId": "conversations",
29 "scopes": [
30 "personal"
31 ]
32 },
33 {
34 "entityId": "about",
35 "scopes": [
36 "personal"
37 ]
38 }
39 ],
40 "bots": [
41 {
42 "botId": "YOUR_BOT_ID",
43 "scopes": [
44 "personal",
45 "team",
46 "groupChat"
47 ],
48 "isNotificationOnly": false,
49 "supportsCalling": false,
50 "supportsVideo": false,
51 "supportsFiles": false
52 }
53 ],
54 "composeExtensions": [
55 {
56 "botId": "YOUR_BOT_ID",
57 "commands": [
58 {
59 "id": "searchQuery",
60 "type": "query",
61 "title": "searchQuery",
62 "description": "Enter search text",
63 "initialRun": true,
64 "fetchTask": false,
65 "context": [
66 "commandBox",
67 "compose",
68 "message"
69 ],
70 "parameters": [
71 {
72 "name": "searchText",
73 "title": "searchText",
74 "description": "Enter search text",
75 "inputType": "text"
76 }
77 ]
78 },
79 {
80 "id": "createAction",
81 "type": "action",
82 "title": "createAction",
83 "description": "Create a new item",
84 "initialRun": true,
85 "fetchTask": true,
86 "context": [
87 "commandBox",
88 "compose",
89 "message"
90 ],
91 "parameters": [
92 {
93 "name": "createAction",
94 "title": "createAction",
95 "description": "Create a new item",
96 "inputType": "text"
97 }
98 ]
99 }
100 ],
101 "canUpdateConfiguration": true,
102 "messageHandlers": [
103 {
104 "type": "link",
105 "value": {
106 "domains": [
107 "*.example.com",
108 "*.microsoft.com"
109 ],
110 "supportsAnonymizedPayloads": true
111 }
112 }
113 ]
114 }
115 ],
116 "validDomains": [
117 "*.microsoft.com"
118 ],
119 "webApplicationInfo": {
120 "id": "YOUR_BOT_ID",
121 "resource": "https://graph.microsoft.com"
122 }
123}
124