universal-mcp-applications 0.1.13__py3-none-any.whl → 0.1.14__py3-none-any.whl
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.
Potentially problematic release.
This version of universal-mcp-applications might be problematic. Click here for more details.
- universal_mcp/applications/aws_s3/app.py +71 -71
- universal_mcp/applications/calendly/app.py +199 -199
- universal_mcp/applications/canva/app.py +189 -189
- universal_mcp/applications/domain_checker/app.py +31 -24
- universal_mcp/applications/e2b/app.py +6 -7
- universal_mcp/applications/elevenlabs/app.py +24 -20
- universal_mcp/applications/exa/app.py +25 -20
- universal_mcp/applications/falai/app.py +44 -41
- universal_mcp/applications/file_system/app.py +20 -12
- universal_mcp/applications/firecrawl/app.py +46 -47
- universal_mcp/applications/fireflies/app.py +79 -79
- universal_mcp/applications/fpl/app.py +83 -74
- universal_mcp/applications/github/README.md +0 -1028
- universal_mcp/applications/github/app.py +55 -50227
- universal_mcp/applications/google_calendar/app.py +63 -65
- universal_mcp/applications/google_docs/app.py +78 -78
- universal_mcp/applications/google_drive/app.py +361 -440
- universal_mcp/applications/google_gemini/app.py +34 -17
- universal_mcp/applications/google_mail/app.py +117 -117
- universal_mcp/applications/google_searchconsole/app.py +41 -47
- universal_mcp/applications/google_sheet/app.py +157 -164
- universal_mcp/applications/http_tools/app.py +16 -16
- universal_mcp/applications/linkedin/app.py +26 -31
- universal_mcp/applications/ms_teams/app.py +190 -190
- universal_mcp/applications/openai/app.py +55 -56
- universal_mcp/applications/outlook/app.py +57 -57
- universal_mcp/applications/perplexity/app.py +17 -17
- universal_mcp/applications/reddit/app.py +225 -4053
- universal_mcp/applications/replicate/app.py +40 -42
- universal_mcp/applications/resend/app.py +157 -154
- universal_mcp/applications/scraper/app.py +24 -24
- universal_mcp/applications/serpapi/app.py +18 -20
- universal_mcp/applications/sharepoint/app.py +46 -36
- universal_mcp/applications/slack/app.py +66 -66
- universal_mcp/applications/tavily/app.py +7 -7
- universal_mcp/applications/twitter/api_segments/compliance_api.py +17 -20
- universal_mcp/applications/twitter/api_segments/dm_conversations_api.py +35 -40
- universal_mcp/applications/twitter/api_segments/dm_events_api.py +18 -21
- universal_mcp/applications/twitter/api_segments/likes_api.py +19 -22
- universal_mcp/applications/twitter/api_segments/lists_api.py +59 -68
- universal_mcp/applications/twitter/api_segments/spaces_api.py +36 -42
- universal_mcp/applications/twitter/api_segments/trends_api.py +7 -8
- universal_mcp/applications/twitter/api_segments/tweets_api.py +159 -185
- universal_mcp/applications/twitter/api_segments/usage_api.py +5 -6
- universal_mcp/applications/twitter/api_segments/users_api.py +230 -264
- universal_mcp/applications/unipile/app.py +99 -105
- universal_mcp/applications/whatsapp/app.py +86 -82
- universal_mcp/applications/whatsapp_business/app.py +147 -147
- universal_mcp/applications/youtube/app.py +290 -290
- universal_mcp/applications/zenquotes/app.py +6 -6
- {universal_mcp_applications-0.1.13.dist-info → universal_mcp_applications-0.1.14.dist-info}/METADATA +1 -1
- {universal_mcp_applications-0.1.13.dist-info → universal_mcp_applications-0.1.14.dist-info}/RECORD +54 -54
- {universal_mcp_applications-0.1.13.dist-info → universal_mcp_applications-0.1.14.dist-info}/WHEEL +0 -0
- {universal_mcp_applications-0.1.13.dist-info → universal_mcp_applications-0.1.14.dist-info}/licenses/LICENSE +0 -0
|
@@ -9,7 +9,7 @@ class MsTeamsApp(APIApplication):
|
|
|
9
9
|
super().__init__(name="ms_teams", integration=integration, **kwargs)
|
|
10
10
|
self.base_url = "https://graph.microsoft.com/v1.0"
|
|
11
11
|
|
|
12
|
-
def
|
|
12
|
+
def get_user_chats(
|
|
13
13
|
self,
|
|
14
14
|
top: int | None = None,
|
|
15
15
|
skip: int | None = None,
|
|
@@ -21,8 +21,8 @@ class MsTeamsApp(APIApplication):
|
|
|
21
21
|
expand: list[str] | None = None,
|
|
22
22
|
) -> dict[str, Any]:
|
|
23
23
|
"""
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
Retrieves a collection of chats the authenticated user is participating in. Supports optional OData query parameters for advanced filtering, sorting, pagination, and field selection, enabling customized data retrieval from the Microsoft Graph API.
|
|
25
|
+
|
|
26
26
|
Args:
|
|
27
27
|
top (integer): Show only the first n items Example: '50'.
|
|
28
28
|
skip (integer): Skip the first n items
|
|
@@ -32,13 +32,13 @@ class MsTeamsApp(APIApplication):
|
|
|
32
32
|
orderby (array): Order items by property values
|
|
33
33
|
select (array): Select properties to be returned
|
|
34
34
|
expand (array): Expand related entities
|
|
35
|
-
|
|
35
|
+
|
|
36
36
|
Returns:
|
|
37
37
|
dict[str, Any]: Retrieved collection
|
|
38
|
-
|
|
38
|
+
|
|
39
39
|
Raises:
|
|
40
40
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
41
|
-
|
|
41
|
+
|
|
42
42
|
Tags:
|
|
43
43
|
chats.chat, important
|
|
44
44
|
"""
|
|
@@ -62,14 +62,14 @@ class MsTeamsApp(APIApplication):
|
|
|
62
62
|
|
|
63
63
|
def get_joined_teams(self) -> list[dict[str, Any]]:
|
|
64
64
|
"""
|
|
65
|
-
Fetches a
|
|
66
|
-
|
|
65
|
+
Fetches all Microsoft Teams the authenticated user is a member of. This function queries the `/me/joinedTeams` API endpoint, returning a list of dictionaries where each dictionary contains the details of a specific team.
|
|
66
|
+
|
|
67
67
|
Returns:
|
|
68
68
|
A list of dictionaries, where each dictionary represents a team.
|
|
69
|
-
|
|
69
|
+
|
|
70
70
|
Raises:
|
|
71
71
|
httpx.HTTPStatusError: If the API request fails due to authentication or other issues.
|
|
72
|
-
|
|
72
|
+
|
|
73
73
|
Tags:
|
|
74
74
|
read, list, teams, microsoft-teams, api, important
|
|
75
75
|
"""
|
|
@@ -92,8 +92,8 @@ class MsTeamsApp(APIApplication):
|
|
|
92
92
|
expand: list[str] | None = None,
|
|
93
93
|
) -> dict[str, Any]:
|
|
94
94
|
"""
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
Retrieves channels for a specified Microsoft Teams team using its unique ID. Optional parameters allow for advanced querying, including filtering, searching, sorting, and pagination of the results, to customize the returned collection of channels.
|
|
96
|
+
|
|
97
97
|
Args:
|
|
98
98
|
team_id (string): team-id
|
|
99
99
|
top (integer): Show only the first n items Example: '50'.
|
|
@@ -104,13 +104,13 @@ class MsTeamsApp(APIApplication):
|
|
|
104
104
|
orderby (array): Order items by property values
|
|
105
105
|
select (array): Select properties to be returned
|
|
106
106
|
expand (array): Expand related entities
|
|
107
|
-
|
|
107
|
+
|
|
108
108
|
Returns:
|
|
109
109
|
dict[str, Any]: Retrieved collection
|
|
110
|
-
|
|
110
|
+
|
|
111
111
|
Raises:
|
|
112
112
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
113
|
-
|
|
113
|
+
|
|
114
114
|
Tags:
|
|
115
115
|
teams.channel, important
|
|
116
116
|
"""
|
|
@@ -136,18 +136,18 @@ class MsTeamsApp(APIApplication):
|
|
|
136
136
|
|
|
137
137
|
def send_chat_message(self, chat_id: str, content: str) -> dict[str, Any]:
|
|
138
138
|
"""
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
Posts a new message to a specific Microsoft Teams chat using its unique ID. It sends a POST request to the Graph API endpoint with the provided content (text/HTML). This function targets direct/group chats, differentiating it from `send_channel_message`, which posts to team channels.
|
|
140
|
+
|
|
141
141
|
Args:
|
|
142
142
|
chat_id: The unique identifier of the chat.
|
|
143
143
|
content: The message content to send (can be plain text or HTML).
|
|
144
|
-
|
|
144
|
+
|
|
145
145
|
Returns:
|
|
146
146
|
A dictionary containing the API response for the sent message, including its ID.
|
|
147
|
-
|
|
147
|
+
|
|
148
148
|
Raises:
|
|
149
149
|
httpx.HTTPStatusError: If the API request fails due to invalid ID, permissions, etc.
|
|
150
|
-
|
|
150
|
+
|
|
151
151
|
Tags:
|
|
152
152
|
create, send, message, chat, microsoft-teams, api, important
|
|
153
153
|
"""
|
|
@@ -160,19 +160,19 @@ class MsTeamsApp(APIApplication):
|
|
|
160
160
|
self, team_id: str, channel_id: str, content: str
|
|
161
161
|
) -> dict[str, Any]:
|
|
162
162
|
"""
|
|
163
|
-
|
|
164
|
-
|
|
163
|
+
Posts a new message to a specified channel within a Microsoft Teams team using the team and channel IDs. This function initiates a new conversation thread, unlike `reply_to_channel_message`. The content can be plain text or HTML. It differs from `send_chat_message` which targets private/group chats.
|
|
164
|
+
|
|
165
165
|
Args:
|
|
166
166
|
team_id: The unique identifier of the team.
|
|
167
167
|
channel_id: The unique identifier of the channel within the team.
|
|
168
168
|
content: The message content to send (can be plain text or HTML).
|
|
169
|
-
|
|
169
|
+
|
|
170
170
|
Returns:
|
|
171
171
|
A dictionary containing the API response for the sent message, including its ID.
|
|
172
|
-
|
|
172
|
+
|
|
173
173
|
Raises:
|
|
174
174
|
httpx.HTTPStatusError: If the API request fails due to invalid IDs, permissions, etc.
|
|
175
|
-
|
|
175
|
+
|
|
176
176
|
Tags:
|
|
177
177
|
create, send, message, channel, microsoft-teams, api, important
|
|
178
178
|
"""
|
|
@@ -185,20 +185,20 @@ class MsTeamsApp(APIApplication):
|
|
|
185
185
|
self, team_id: str, channel_id: str, message_id: str, content: str
|
|
186
186
|
) -> dict[str, Any]:
|
|
187
187
|
"""
|
|
188
|
-
|
|
189
|
-
|
|
188
|
+
Posts a reply to a specific message within a Microsoft Teams channel. It uses the team, channel, and original message IDs to target the correct conversation thread, distinguishing it from `send_channel_message` which starts a new thread.
|
|
189
|
+
|
|
190
190
|
Args:
|
|
191
191
|
team_id: The unique identifier of the team.
|
|
192
192
|
channel_id: The unique identifier of the channel.
|
|
193
193
|
message_id: The unique identifier of the message to reply to.
|
|
194
194
|
content: The reply message content (can be plain text or HTML).
|
|
195
|
-
|
|
195
|
+
|
|
196
196
|
Returns:
|
|
197
197
|
A dictionary containing the API response for the sent reply, including its ID.
|
|
198
|
-
|
|
198
|
+
|
|
199
199
|
Raises:
|
|
200
200
|
httpx.HTTPStatusError: If the API request fails due to invalid IDs, permissions, etc.
|
|
201
|
-
|
|
201
|
+
|
|
202
202
|
Tags:
|
|
203
203
|
create, send, reply, message, channel, microsoft-teams, api, important
|
|
204
204
|
"""
|
|
@@ -207,7 +207,7 @@ class MsTeamsApp(APIApplication):
|
|
|
207
207
|
response = self._post(url, data=payload)
|
|
208
208
|
return self._handle_response(response)
|
|
209
209
|
|
|
210
|
-
def
|
|
210
|
+
def create_chat(
|
|
211
211
|
self,
|
|
212
212
|
id: str | None = None,
|
|
213
213
|
chatType: str | None = None,
|
|
@@ -228,8 +228,8 @@ class MsTeamsApp(APIApplication):
|
|
|
228
228
|
tabs: list[Any] | None = None,
|
|
229
229
|
) -> Any:
|
|
230
230
|
"""
|
|
231
|
-
|
|
232
|
-
|
|
231
|
+
Creates a new Microsoft Teams chat conversation. It takes optional parameters like chat type, topic, and members to configure the chat. This function sends a POST request to the `/chats` API endpoint, initiating a new one-on-one or group chat based on the provided details.
|
|
232
|
+
|
|
233
233
|
Args:
|
|
234
234
|
id (string): The unique identifier for an entity. Read-only.
|
|
235
235
|
chatType (string): chatType
|
|
@@ -248,13 +248,13 @@ class MsTeamsApp(APIApplication):
|
|
|
248
248
|
permissionGrants (array): A collection of permissions granted to apps for the chat.
|
|
249
249
|
pinnedMessages (array): A collection of all the pinned messages in the chat. Nullable.
|
|
250
250
|
tabs (array): A collection of all the tabs in the chat. Nullable.
|
|
251
|
-
|
|
251
|
+
|
|
252
252
|
Returns:
|
|
253
253
|
Any: Created entity
|
|
254
|
-
|
|
254
|
+
|
|
255
255
|
Raises:
|
|
256
256
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
257
|
-
|
|
257
|
+
|
|
258
258
|
Tags:
|
|
259
259
|
chats.chat
|
|
260
260
|
"""
|
|
@@ -291,26 +291,26 @@ class MsTeamsApp(APIApplication):
|
|
|
291
291
|
)
|
|
292
292
|
return self._handle_response(response)
|
|
293
293
|
|
|
294
|
-
def
|
|
294
|
+
def get_chat_details(
|
|
295
295
|
self,
|
|
296
296
|
chat_id: str,
|
|
297
297
|
select: list[str] | None = None,
|
|
298
298
|
expand: list[str] | None = None,
|
|
299
299
|
) -> Any:
|
|
300
300
|
"""
|
|
301
|
-
|
|
302
|
-
|
|
301
|
+
Retrieves the properties and relationships of a specific chat conversation by its unique ID. Optional parameters can select specific fields or expand related entities in the response, such as chat members or installed apps.
|
|
302
|
+
|
|
303
303
|
Args:
|
|
304
304
|
chat_id (string): chat-id
|
|
305
305
|
select (array): Select properties to be returned
|
|
306
306
|
expand (array): Expand related entities
|
|
307
|
-
|
|
307
|
+
|
|
308
308
|
Returns:
|
|
309
309
|
Any: Retrieved entity
|
|
310
|
-
|
|
310
|
+
|
|
311
311
|
Raises:
|
|
312
312
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
313
|
-
|
|
313
|
+
|
|
314
314
|
Tags:
|
|
315
315
|
chats.chat
|
|
316
316
|
"""
|
|
@@ -345,8 +345,8 @@ class MsTeamsApp(APIApplication):
|
|
|
345
345
|
tabs: list[Any] | None = None,
|
|
346
346
|
) -> Any:
|
|
347
347
|
"""
|
|
348
|
-
|
|
349
|
-
|
|
348
|
+
Updates properties of a specific chat, such as its topic, using its unique ID. This function performs a partial update (PATCH) on an existing chat, distinguishing it from `get_chat` which only retrieves data, and `create_chat_operation` which creates an entirely new chat conversation.
|
|
349
|
+
|
|
350
350
|
Args:
|
|
351
351
|
chat_id (string): chat-id
|
|
352
352
|
id (string): The unique identifier for an entity. Read-only.
|
|
@@ -366,13 +366,13 @@ class MsTeamsApp(APIApplication):
|
|
|
366
366
|
permissionGrants (array): A collection of permissions granted to apps for the chat.
|
|
367
367
|
pinnedMessages (array): A collection of all the pinned messages in the chat. Nullable.
|
|
368
368
|
tabs (array): A collection of all the tabs in the chat. Nullable.
|
|
369
|
-
|
|
369
|
+
|
|
370
370
|
Returns:
|
|
371
371
|
Any: Success
|
|
372
|
-
|
|
372
|
+
|
|
373
373
|
Raises:
|
|
374
374
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
375
|
-
|
|
375
|
+
|
|
376
376
|
Tags:
|
|
377
377
|
chats.chat
|
|
378
378
|
"""
|
|
@@ -406,7 +406,7 @@ class MsTeamsApp(APIApplication):
|
|
|
406
406
|
response = self._patch(url, data=request_body_data, params=query_params)
|
|
407
407
|
return self._handle_response(response)
|
|
408
408
|
|
|
409
|
-
def
|
|
409
|
+
def list_installed_chat_apps(
|
|
410
410
|
self,
|
|
411
411
|
chat_id: str,
|
|
412
412
|
top: int | None = None,
|
|
@@ -419,8 +419,8 @@ class MsTeamsApp(APIApplication):
|
|
|
419
419
|
expand: list[str] | None = None,
|
|
420
420
|
) -> dict[str, Any]:
|
|
421
421
|
"""
|
|
422
|
-
|
|
423
|
-
|
|
422
|
+
Retrieves the collection of applications installed within a specific Microsoft Teams chat, identified by its ID. It supports advanced querying through optional parameters for pagination, filtering, searching, and sorting to customize the results.
|
|
423
|
+
|
|
424
424
|
Args:
|
|
425
425
|
chat_id (string): chat-id
|
|
426
426
|
top (integer): Show only the first n items Example: '50'.
|
|
@@ -431,13 +431,13 @@ class MsTeamsApp(APIApplication):
|
|
|
431
431
|
orderby (array): Order items by property values
|
|
432
432
|
select (array): Select properties to be returned
|
|
433
433
|
expand (array): Expand related entities
|
|
434
|
-
|
|
434
|
+
|
|
435
435
|
Returns:
|
|
436
436
|
dict[str, Any]: Retrieved collection
|
|
437
|
-
|
|
437
|
+
|
|
438
438
|
Raises:
|
|
439
439
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
440
|
-
|
|
440
|
+
|
|
441
441
|
Tags:
|
|
442
442
|
chats.teamsAppInstallation
|
|
443
443
|
"""
|
|
@@ -474,8 +474,8 @@ class MsTeamsApp(APIApplication):
|
|
|
474
474
|
expand: list[str] | None = None,
|
|
475
475
|
) -> dict[str, Any]:
|
|
476
476
|
"""
|
|
477
|
-
|
|
478
|
-
|
|
477
|
+
Retrieves a list of members for a specific chat, identified by `chat_id`. Supports advanced querying, including pagination, filtering, searching, and sorting. This function lists all members, unlike `get_chat_member_details` which fetches information for a single member.
|
|
478
|
+
|
|
479
479
|
Args:
|
|
480
480
|
chat_id (string): chat-id
|
|
481
481
|
top (integer): Show only the first n items Example: '50'.
|
|
@@ -486,13 +486,13 @@ class MsTeamsApp(APIApplication):
|
|
|
486
486
|
orderby (array): Order items by property values
|
|
487
487
|
select (array): Select properties to be returned
|
|
488
488
|
expand (array): Expand related entities
|
|
489
|
-
|
|
489
|
+
|
|
490
490
|
Returns:
|
|
491
491
|
dict[str, Any]: Retrieved collection
|
|
492
|
-
|
|
492
|
+
|
|
493
493
|
Raises:
|
|
494
494
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
495
|
-
|
|
495
|
+
|
|
496
496
|
Tags:
|
|
497
497
|
chats.conversationMember
|
|
498
498
|
"""
|
|
@@ -525,21 +525,21 @@ class MsTeamsApp(APIApplication):
|
|
|
525
525
|
visibleHistoryStartDateTime: str | None = None,
|
|
526
526
|
) -> Any:
|
|
527
527
|
"""
|
|
528
|
-
|
|
529
|
-
|
|
528
|
+
Adds a member to a specified Microsoft Teams chat using its `chat_id`. Details such as the member's roles and the extent of their visible chat history can be provided. This operation sends a POST request to the `/chats/{chat_id}/members` API endpoint.
|
|
529
|
+
|
|
530
530
|
Args:
|
|
531
531
|
chat_id (string): chat-id
|
|
532
532
|
id (string): The unique identifier for an entity. Read-only.
|
|
533
533
|
displayName (string): The display name of the user.
|
|
534
534
|
roles (array): The roles for that user. This property contains more qualifiers only when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is an in-tenant guest, the roles property contains guest as one of the values. A basic member shouldn't have any values specified in the roles property. An Out-of-tenant external member is assigned the owner role.
|
|
535
535
|
visibleHistoryStartDateTime (string): The timestamp denoting how far back a conversation's history is shared with the conversation member. This property is settable only for members of a chat.
|
|
536
|
-
|
|
536
|
+
|
|
537
537
|
Returns:
|
|
538
538
|
Any: Created navigation property.
|
|
539
|
-
|
|
539
|
+
|
|
540
540
|
Raises:
|
|
541
541
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
542
|
-
|
|
542
|
+
|
|
543
543
|
Tags:
|
|
544
544
|
chats.conversationMember
|
|
545
545
|
"""
|
|
@@ -565,7 +565,7 @@ class MsTeamsApp(APIApplication):
|
|
|
565
565
|
)
|
|
566
566
|
return self._handle_response(response)
|
|
567
567
|
|
|
568
|
-
def
|
|
568
|
+
def get_chat_member(
|
|
569
569
|
self,
|
|
570
570
|
chat_id: str,
|
|
571
571
|
conversationMember_id: str,
|
|
@@ -573,20 +573,20 @@ class MsTeamsApp(APIApplication):
|
|
|
573
573
|
expand: list[str] | None = None,
|
|
574
574
|
) -> Any:
|
|
575
575
|
"""
|
|
576
|
-
|
|
577
|
-
|
|
576
|
+
Retrieves detailed information for a specific member within a chat using their unique ID. Unlike `list_chat_members` which fetches all members, this function targets a single individual. The response can be customized by selecting specific properties or expanding related entities.
|
|
577
|
+
|
|
578
578
|
Args:
|
|
579
579
|
chat_id (string): chat-id
|
|
580
580
|
conversationMember_id (string): conversationMember-id
|
|
581
581
|
select (array): Select properties to be returned
|
|
582
582
|
expand (array): Expand related entities
|
|
583
|
-
|
|
583
|
+
|
|
584
584
|
Returns:
|
|
585
585
|
Any: Retrieved navigation property
|
|
586
|
-
|
|
586
|
+
|
|
587
587
|
Raises:
|
|
588
588
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
589
|
-
|
|
589
|
+
|
|
590
590
|
Tags:
|
|
591
591
|
chats.conversationMember
|
|
592
592
|
"""
|
|
@@ -603,18 +603,18 @@ class MsTeamsApp(APIApplication):
|
|
|
603
603
|
|
|
604
604
|
def delete_chat_member(self, chat_id: str, conversationMember_id: str) -> Any:
|
|
605
605
|
"""
|
|
606
|
-
|
|
607
|
-
|
|
606
|
+
Removes a specific member from a chat using their unique ID and the chat's ID. This function sends a DELETE request to the Microsoft Graph API to permanently remove the user from the specified conversation, acting as the counterpart to `add_member_to_chat`.
|
|
607
|
+
|
|
608
608
|
Args:
|
|
609
609
|
chat_id (string): chat-id
|
|
610
610
|
conversationMember_id (string): conversationMember-id
|
|
611
|
-
|
|
611
|
+
|
|
612
612
|
Returns:
|
|
613
613
|
Any: Success
|
|
614
|
-
|
|
614
|
+
|
|
615
615
|
Raises:
|
|
616
616
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
617
|
-
|
|
617
|
+
|
|
618
618
|
Tags:
|
|
619
619
|
chats.conversationMember
|
|
620
620
|
"""
|
|
@@ -640,8 +640,8 @@ class MsTeamsApp(APIApplication):
|
|
|
640
640
|
expand: list[str] | None = None,
|
|
641
641
|
) -> dict[str, Any]:
|
|
642
642
|
"""
|
|
643
|
-
|
|
644
|
-
|
|
643
|
+
Retrieves a collection of messages from a specific chat, identified by its unique ID. Supports advanced querying with options for pagination (top, skip), filtering, sorting, and searching to refine the results, distinguishing it from functions that get single messages or replies.
|
|
644
|
+
|
|
645
645
|
Args:
|
|
646
646
|
chat_id (string): chat-id
|
|
647
647
|
top (integer): Show only the first n items Example: '50'.
|
|
@@ -652,13 +652,13 @@ class MsTeamsApp(APIApplication):
|
|
|
652
652
|
orderby (array): Order items by property values
|
|
653
653
|
select (array): Select properties to be returned
|
|
654
654
|
expand (array): Expand related entities
|
|
655
|
-
|
|
655
|
+
|
|
656
656
|
Returns:
|
|
657
657
|
dict[str, Any]: Retrieved collection
|
|
658
|
-
|
|
658
|
+
|
|
659
659
|
Raises:
|
|
660
660
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
661
|
-
|
|
661
|
+
|
|
662
662
|
Tags:
|
|
663
663
|
chats.chatMessage
|
|
664
664
|
"""
|
|
@@ -682,7 +682,7 @@ class MsTeamsApp(APIApplication):
|
|
|
682
682
|
response = self._get(url, params=query_params)
|
|
683
683
|
return self._handle_response(response)
|
|
684
684
|
|
|
685
|
-
def
|
|
685
|
+
def get_chat_message(
|
|
686
686
|
self,
|
|
687
687
|
chat_id: str,
|
|
688
688
|
chatMessage_id: str,
|
|
@@ -690,20 +690,20 @@ class MsTeamsApp(APIApplication):
|
|
|
690
690
|
expand: list[str] | None = None,
|
|
691
691
|
) -> Any:
|
|
692
692
|
"""
|
|
693
|
-
|
|
694
|
-
|
|
693
|
+
Retrieves the full details of a single message from a specific chat, identified by both the chat and message IDs. Supports optional query parameters to select specific properties or expand related entities, enabling customized API responses for a particular message.
|
|
694
|
+
|
|
695
695
|
Args:
|
|
696
696
|
chat_id (string): chat-id
|
|
697
697
|
chatMessage_id (string): chatMessage-id
|
|
698
698
|
select (array): Select properties to be returned
|
|
699
699
|
expand (array): Expand related entities
|
|
700
|
-
|
|
700
|
+
|
|
701
701
|
Returns:
|
|
702
702
|
Any: Retrieved navigation property
|
|
703
|
-
|
|
703
|
+
|
|
704
704
|
Raises:
|
|
705
705
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
706
|
-
|
|
706
|
+
|
|
707
707
|
Tags:
|
|
708
708
|
chats.chatMessage
|
|
709
709
|
"""
|
|
@@ -718,7 +718,7 @@ class MsTeamsApp(APIApplication):
|
|
|
718
718
|
response = self._get(url, params=query_params)
|
|
719
719
|
return self._handle_response(response)
|
|
720
720
|
|
|
721
|
-
def
|
|
721
|
+
def list_chat_message_replies(
|
|
722
722
|
self,
|
|
723
723
|
chat_id: str,
|
|
724
724
|
chatMessage_id: str,
|
|
@@ -732,8 +732,8 @@ class MsTeamsApp(APIApplication):
|
|
|
732
732
|
expand: list[str] | None = None,
|
|
733
733
|
) -> dict[str, Any]:
|
|
734
734
|
"""
|
|
735
|
-
|
|
736
|
-
|
|
735
|
+
Retrieves a collection of replies for a specific message within a given chat. It identifies the parent message using `chat_id` and `chatMessage_id` and supports optional OData query parameters for advanced filtering, sorting, and pagination of the results.
|
|
736
|
+
|
|
737
737
|
Args:
|
|
738
738
|
chat_id (string): chat-id
|
|
739
739
|
chatMessage_id (string): chatMessage-id
|
|
@@ -745,13 +745,13 @@ class MsTeamsApp(APIApplication):
|
|
|
745
745
|
orderby (array): Order items by property values
|
|
746
746
|
select (array): Select properties to be returned
|
|
747
747
|
expand (array): Expand related entities
|
|
748
|
-
|
|
748
|
+
|
|
749
749
|
Returns:
|
|
750
750
|
dict[str, Any]: Retrieved collection
|
|
751
|
-
|
|
751
|
+
|
|
752
752
|
Raises:
|
|
753
753
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
754
|
-
|
|
754
|
+
|
|
755
755
|
Tags:
|
|
756
756
|
chats.chatMessage
|
|
757
757
|
"""
|
|
@@ -777,7 +777,7 @@ class MsTeamsApp(APIApplication):
|
|
|
777
777
|
response = self._get(url, params=query_params)
|
|
778
778
|
return self._handle_response(response)
|
|
779
779
|
|
|
780
|
-
def
|
|
780
|
+
def reply_to_chat_message(
|
|
781
781
|
self,
|
|
782
782
|
chat_id: str,
|
|
783
783
|
chatMessage_id: str,
|
|
@@ -808,8 +808,8 @@ class MsTeamsApp(APIApplication):
|
|
|
808
808
|
replies: list[Any] | None = None,
|
|
809
809
|
) -> Any:
|
|
810
810
|
"""
|
|
811
|
-
|
|
812
|
-
|
|
811
|
+
Posts a reply to a specific message within a chat. This comprehensive function allows for detailed configuration of the reply message's properties, such as its body and attachments. It is distinct from `reply_to_channel_message`, which sends simple replies to messages within team channels.
|
|
812
|
+
|
|
813
813
|
Args:
|
|
814
814
|
chat_id (string): chat-id
|
|
815
815
|
chatMessage_id (string): chatMessage-id
|
|
@@ -838,13 +838,13 @@ class MsTeamsApp(APIApplication):
|
|
|
838
838
|
webUrl (string): Read-only. Link to the message in Microsoft Teams.
|
|
839
839
|
hostedContents (array): Content in a message hosted by Microsoft Teams - for example, images or code snippets.
|
|
840
840
|
replies (array): Replies for a specified message. Supports $expand for channel messages.
|
|
841
|
-
|
|
841
|
+
|
|
842
842
|
Returns:
|
|
843
843
|
Any: Created navigation property.
|
|
844
|
-
|
|
844
|
+
|
|
845
845
|
Raises:
|
|
846
846
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
847
|
-
|
|
847
|
+
|
|
848
848
|
Tags:
|
|
849
849
|
chats.chatMessage
|
|
850
850
|
"""
|
|
@@ -893,7 +893,7 @@ class MsTeamsApp(APIApplication):
|
|
|
893
893
|
)
|
|
894
894
|
return self._handle_response(response)
|
|
895
895
|
|
|
896
|
-
def
|
|
896
|
+
def get_chat_reply_details(
|
|
897
897
|
self,
|
|
898
898
|
chat_id: str,
|
|
899
899
|
chatMessage_id: str,
|
|
@@ -902,21 +902,21 @@ class MsTeamsApp(APIApplication):
|
|
|
902
902
|
expand: list[str] | None = None,
|
|
903
903
|
) -> Any:
|
|
904
904
|
"""
|
|
905
|
-
|
|
906
|
-
|
|
905
|
+
Retrieves a single, specific reply from a chat message thread using its unique ID, requiring the parent message and chat IDs. It targets one reply for detailed information, unlike `read_chat_replies` which lists all replies to a parent message.
|
|
906
|
+
|
|
907
907
|
Args:
|
|
908
908
|
chat_id (string): chat-id
|
|
909
909
|
chatMessage_id (string): chatMessage-id
|
|
910
910
|
chatMessage_id1 (string): chatMessage-id1
|
|
911
911
|
select (array): Select properties to be returned
|
|
912
912
|
expand (array): Expand related entities
|
|
913
|
-
|
|
913
|
+
|
|
914
914
|
Returns:
|
|
915
915
|
Any: Retrieved navigation property
|
|
916
|
-
|
|
916
|
+
|
|
917
917
|
Raises:
|
|
918
918
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
919
|
-
|
|
919
|
+
|
|
920
920
|
Tags:
|
|
921
921
|
chats.chatMessage
|
|
922
922
|
"""
|
|
@@ -968,8 +968,8 @@ class MsTeamsApp(APIApplication):
|
|
|
968
968
|
template: Any | None = None,
|
|
969
969
|
) -> Any:
|
|
970
970
|
"""
|
|
971
|
-
|
|
972
|
-
|
|
971
|
+
Enables a Microsoft Teams instance for a pre-existing Microsoft 365 group, identified by its ID. This 'team-ifies' the group, allowing optional team properties to be configured. It differs from `create_team`, which provisions a new team and group simultaneously.
|
|
972
|
+
|
|
973
973
|
Args:
|
|
974
974
|
group_id (string): group-id
|
|
975
975
|
id (string): The unique identifier for an entity. Read-only.
|
|
@@ -1002,13 +1002,13 @@ class MsTeamsApp(APIApplication):
|
|
|
1002
1002
|
schedule (string): schedule
|
|
1003
1003
|
tags (array): The tags associated with the team.
|
|
1004
1004
|
template (string): template
|
|
1005
|
-
|
|
1005
|
+
|
|
1006
1006
|
Returns:
|
|
1007
1007
|
Any: Success
|
|
1008
|
-
|
|
1008
|
+
|
|
1009
1009
|
Raises:
|
|
1010
1010
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
1011
|
-
|
|
1011
|
+
|
|
1012
1012
|
Tags:
|
|
1013
1013
|
groups.team
|
|
1014
1014
|
"""
|
|
@@ -1094,8 +1094,8 @@ class MsTeamsApp(APIApplication):
|
|
|
1094
1094
|
template: Any | None = None,
|
|
1095
1095
|
) -> Any:
|
|
1096
1096
|
"""
|
|
1097
|
-
|
|
1098
|
-
|
|
1097
|
+
Creates a new Microsoft Team and its associated Microsoft 365 group. This method builds a team from scratch, allowing specification of initial properties like display name, description, and members. It differs from `create_team_from_group`, which enables team functionality for an existing group.
|
|
1098
|
+
|
|
1099
1099
|
Args:
|
|
1100
1100
|
id (string): The unique identifier for an entity. Read-only.
|
|
1101
1101
|
classification (string): An optional label. Typically describes the data or business sensitivity of the team. Must match one of a preconfigured set in the tenant's directory.
|
|
@@ -1127,13 +1127,13 @@ class MsTeamsApp(APIApplication):
|
|
|
1127
1127
|
schedule (string): schedule
|
|
1128
1128
|
tags (array): The tags associated with the team.
|
|
1129
1129
|
template (string): template
|
|
1130
|
-
|
|
1130
|
+
|
|
1131
1131
|
Returns:
|
|
1132
1132
|
Any: Created entity
|
|
1133
|
-
|
|
1133
|
+
|
|
1134
1134
|
Raises:
|
|
1135
1135
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
1136
|
-
|
|
1136
|
+
|
|
1137
1137
|
Tags:
|
|
1138
1138
|
teams.team
|
|
1139
1139
|
"""
|
|
@@ -1183,7 +1183,7 @@ class MsTeamsApp(APIApplication):
|
|
|
1183
1183
|
)
|
|
1184
1184
|
return self._handle_response(response)
|
|
1185
1185
|
|
|
1186
|
-
def
|
|
1186
|
+
def get_channel_details(
|
|
1187
1187
|
self,
|
|
1188
1188
|
team_id: str,
|
|
1189
1189
|
channel_id: str,
|
|
@@ -1191,20 +1191,20 @@ class MsTeamsApp(APIApplication):
|
|
|
1191
1191
|
expand: list[str] | None = None,
|
|
1192
1192
|
) -> Any:
|
|
1193
1193
|
"""
|
|
1194
|
-
|
|
1195
|
-
|
|
1194
|
+
Retrieves detailed information for a specific channel within a Microsoft Teams team, identified by both team and channel IDs. Optional parameters allow for selecting specific properties or expanding related entities in the response to get more targeted data.
|
|
1195
|
+
|
|
1196
1196
|
Args:
|
|
1197
1197
|
team_id (string): team-id
|
|
1198
1198
|
channel_id (string): channel-id
|
|
1199
1199
|
select (array): Select properties to be returned
|
|
1200
1200
|
expand (array): Expand related entities
|
|
1201
|
-
|
|
1201
|
+
|
|
1202
1202
|
Returns:
|
|
1203
1203
|
Any: Retrieved navigation property
|
|
1204
|
-
|
|
1204
|
+
|
|
1205
1205
|
Raises:
|
|
1206
1206
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
1207
|
-
|
|
1207
|
+
|
|
1208
1208
|
Tags:
|
|
1209
1209
|
teams.channel
|
|
1210
1210
|
"""
|
|
@@ -1219,7 +1219,7 @@ class MsTeamsApp(APIApplication):
|
|
|
1219
1219
|
response = self._get(url, params=query_params)
|
|
1220
1220
|
return self._handle_response(response)
|
|
1221
1221
|
|
|
1222
|
-
def
|
|
1222
|
+
def update_channel_message(
|
|
1223
1223
|
self,
|
|
1224
1224
|
team_id: str,
|
|
1225
1225
|
channel_id: str,
|
|
@@ -1251,8 +1251,8 @@ class MsTeamsApp(APIApplication):
|
|
|
1251
1251
|
replies: list[Any] | None = None,
|
|
1252
1252
|
) -> Any:
|
|
1253
1253
|
"""
|
|
1254
|
-
|
|
1255
|
-
|
|
1254
|
+
Updates properties of a specific message within a Microsoft Teams channel, identified by its team, channel, and message IDs. It applies modifications like changing the message body or attachments by sending a PATCH request to the Microsoft Graph API.
|
|
1255
|
+
|
|
1256
1256
|
Args:
|
|
1257
1257
|
team_id (string): team-id
|
|
1258
1258
|
channel_id (string): channel-id
|
|
@@ -1282,13 +1282,13 @@ class MsTeamsApp(APIApplication):
|
|
|
1282
1282
|
webUrl (string): Read-only. Link to the message in Microsoft Teams.
|
|
1283
1283
|
hostedContents (array): Content in a message hosted by Microsoft Teams - for example, images or code snippets.
|
|
1284
1284
|
replies (array): Replies for a specified message. Supports $expand for channel messages.
|
|
1285
|
-
|
|
1285
|
+
|
|
1286
1286
|
Returns:
|
|
1287
1287
|
Any: Success
|
|
1288
|
-
|
|
1288
|
+
|
|
1289
1289
|
Raises:
|
|
1290
1290
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
1291
|
-
|
|
1291
|
+
|
|
1292
1292
|
Tags:
|
|
1293
1293
|
teams.channel
|
|
1294
1294
|
"""
|
|
@@ -1334,7 +1334,7 @@ class MsTeamsApp(APIApplication):
|
|
|
1334
1334
|
response = self._patch(url, data=request_body_data, params=query_params)
|
|
1335
1335
|
return self._handle_response(response)
|
|
1336
1336
|
|
|
1337
|
-
def
|
|
1337
|
+
def update_channel_message_reply(
|
|
1338
1338
|
self,
|
|
1339
1339
|
team_id: str,
|
|
1340
1340
|
channel_id: str,
|
|
@@ -1367,8 +1367,8 @@ class MsTeamsApp(APIApplication):
|
|
|
1367
1367
|
replies: list[Any] | None = None,
|
|
1368
1368
|
) -> Any:
|
|
1369
1369
|
"""
|
|
1370
|
-
|
|
1371
|
-
|
|
1370
|
+
Updates an existing reply to a specific message within a Microsoft Teams channel. It identifies the target reply using team, channel, parent message, and reply IDs, modifying its properties (e.g., body content, attachments) via a PATCH request.
|
|
1371
|
+
|
|
1372
1372
|
Args:
|
|
1373
1373
|
team_id (string): team-id
|
|
1374
1374
|
channel_id (string): channel-id
|
|
@@ -1399,13 +1399,13 @@ class MsTeamsApp(APIApplication):
|
|
|
1399
1399
|
webUrl (string): Read-only. Link to the message in Microsoft Teams.
|
|
1400
1400
|
hostedContents (array): Content in a message hosted by Microsoft Teams - for example, images or code snippets.
|
|
1401
1401
|
replies (array): Replies for a specified message. Supports $expand for channel messages.
|
|
1402
|
-
|
|
1402
|
+
|
|
1403
1403
|
Returns:
|
|
1404
1404
|
Any: Success
|
|
1405
|
-
|
|
1405
|
+
|
|
1406
1406
|
Raises:
|
|
1407
1407
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
1408
|
-
|
|
1408
|
+
|
|
1409
1409
|
Tags:
|
|
1410
1410
|
teams.channel
|
|
1411
1411
|
"""
|
|
@@ -1453,7 +1453,7 @@ class MsTeamsApp(APIApplication):
|
|
|
1453
1453
|
response = self._patch(url, data=request_body_data, params=query_params)
|
|
1454
1454
|
return self._handle_response(response)
|
|
1455
1455
|
|
|
1456
|
-
def
|
|
1456
|
+
def list_channel_tabs(
|
|
1457
1457
|
self,
|
|
1458
1458
|
team_id: str,
|
|
1459
1459
|
channel_id: str,
|
|
@@ -1467,8 +1467,8 @@ class MsTeamsApp(APIApplication):
|
|
|
1467
1467
|
expand: list[str] | None = None,
|
|
1468
1468
|
) -> dict[str, Any]:
|
|
1469
1469
|
"""
|
|
1470
|
-
|
|
1471
|
-
|
|
1470
|
+
Retrieves a list of all tabs within a specific channel of a Microsoft Teams team. Supports advanced OData query parameters for filtering, sorting, and pagination, allowing for customized retrieval of the tab collection.
|
|
1471
|
+
|
|
1472
1472
|
Args:
|
|
1473
1473
|
team_id (string): team-id
|
|
1474
1474
|
channel_id (string): channel-id
|
|
@@ -1480,13 +1480,13 @@ class MsTeamsApp(APIApplication):
|
|
|
1480
1480
|
orderby (array): Order items by property values
|
|
1481
1481
|
select (array): Select properties to be returned
|
|
1482
1482
|
expand (array): Expand related entities
|
|
1483
|
-
|
|
1483
|
+
|
|
1484
1484
|
Returns:
|
|
1485
1485
|
dict[str, Any]: Retrieved collection
|
|
1486
|
-
|
|
1486
|
+
|
|
1487
1487
|
Raises:
|
|
1488
1488
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
1489
|
-
|
|
1489
|
+
|
|
1490
1490
|
Tags:
|
|
1491
1491
|
teams.channel
|
|
1492
1492
|
"""
|
|
@@ -1512,7 +1512,7 @@ class MsTeamsApp(APIApplication):
|
|
|
1512
1512
|
response = self._get(url, params=query_params)
|
|
1513
1513
|
return self._handle_response(response)
|
|
1514
1514
|
|
|
1515
|
-
def
|
|
1515
|
+
def create_channel_tab(
|
|
1516
1516
|
self,
|
|
1517
1517
|
team_id: str,
|
|
1518
1518
|
channel_id: str,
|
|
@@ -1523,8 +1523,8 @@ class MsTeamsApp(APIApplication):
|
|
|
1523
1523
|
teamsApp: Any | None = None,
|
|
1524
1524
|
) -> Any:
|
|
1525
1525
|
"""
|
|
1526
|
-
|
|
1527
|
-
|
|
1526
|
+
Adds a new tab to a specified channel within a Microsoft Teams team. It requires team and channel IDs to target the location, and accepts optional configuration details like the tab's display name and associated application to create the new tab.
|
|
1527
|
+
|
|
1528
1528
|
Args:
|
|
1529
1529
|
team_id (string): team-id
|
|
1530
1530
|
channel_id (string): channel-id
|
|
@@ -1533,13 +1533,13 @@ class MsTeamsApp(APIApplication):
|
|
|
1533
1533
|
displayName (string): Name of the tab.
|
|
1534
1534
|
webUrl (string): Deep link URL of the tab instance. Read only.
|
|
1535
1535
|
teamsApp (string): teamsApp
|
|
1536
|
-
|
|
1536
|
+
|
|
1537
1537
|
Returns:
|
|
1538
1538
|
Any: Created navigation property.
|
|
1539
|
-
|
|
1539
|
+
|
|
1540
1540
|
Raises:
|
|
1541
1541
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
1542
|
-
|
|
1542
|
+
|
|
1543
1543
|
Tags:
|
|
1544
1544
|
teams.channel
|
|
1545
1545
|
"""
|
|
@@ -1568,7 +1568,7 @@ class MsTeamsApp(APIApplication):
|
|
|
1568
1568
|
)
|
|
1569
1569
|
return self._handle_response(response)
|
|
1570
1570
|
|
|
1571
|
-
def
|
|
1571
|
+
def get_channel_tab_details(
|
|
1572
1572
|
self,
|
|
1573
1573
|
team_id: str,
|
|
1574
1574
|
channel_id: str,
|
|
@@ -1577,21 +1577,21 @@ class MsTeamsApp(APIApplication):
|
|
|
1577
1577
|
expand: list[str] | None = None,
|
|
1578
1578
|
) -> Any:
|
|
1579
1579
|
"""
|
|
1580
|
-
|
|
1581
|
-
|
|
1580
|
+
Retrieves detailed information for a specific tab within a channel using its unique ID. Requires team and channel identifiers to locate the resource. This function fetches a single tab, unlike `get_channel_tabs` which lists all tabs for the channel.
|
|
1581
|
+
|
|
1582
1582
|
Args:
|
|
1583
1583
|
team_id (string): team-id
|
|
1584
1584
|
channel_id (string): channel-id
|
|
1585
1585
|
teamsTab_id (string): teamsTab-id
|
|
1586
1586
|
select (array): Select properties to be returned
|
|
1587
1587
|
expand (array): Expand related entities
|
|
1588
|
-
|
|
1588
|
+
|
|
1589
1589
|
Returns:
|
|
1590
1590
|
Any: Retrieved navigation property
|
|
1591
|
-
|
|
1591
|
+
|
|
1592
1592
|
Raises:
|
|
1593
1593
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
1594
|
-
|
|
1594
|
+
|
|
1595
1595
|
Tags:
|
|
1596
1596
|
teams.channel
|
|
1597
1597
|
"""
|
|
@@ -1610,7 +1610,7 @@ class MsTeamsApp(APIApplication):
|
|
|
1610
1610
|
response = self._get(url, params=query_params)
|
|
1611
1611
|
return self._handle_response(response)
|
|
1612
1612
|
|
|
1613
|
-
def
|
|
1613
|
+
def update_channel_tab(
|
|
1614
1614
|
self,
|
|
1615
1615
|
team_id: str,
|
|
1616
1616
|
channel_id: str,
|
|
@@ -1622,8 +1622,8 @@ class MsTeamsApp(APIApplication):
|
|
|
1622
1622
|
teamsApp: Any | None = None,
|
|
1623
1623
|
) -> Any:
|
|
1624
1624
|
"""
|
|
1625
|
-
|
|
1626
|
-
|
|
1625
|
+
Updates an existing tab within a specific channel of a Microsoft Teams team. It identifies the tab using team, channel, and tab IDs to modify properties like its display name or configuration. This function performs a partial update on the tab's resource.
|
|
1626
|
+
|
|
1627
1627
|
Args:
|
|
1628
1628
|
team_id (string): team-id
|
|
1629
1629
|
channel_id (string): channel-id
|
|
@@ -1633,13 +1633,13 @@ class MsTeamsApp(APIApplication):
|
|
|
1633
1633
|
displayName (string): Name of the tab.
|
|
1634
1634
|
webUrl (string): Deep link URL of the tab instance. Read only.
|
|
1635
1635
|
teamsApp (string): teamsApp
|
|
1636
|
-
|
|
1636
|
+
|
|
1637
1637
|
Returns:
|
|
1638
1638
|
Any: Success
|
|
1639
|
-
|
|
1639
|
+
|
|
1640
1640
|
Raises:
|
|
1641
1641
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
1642
|
-
|
|
1642
|
+
|
|
1643
1643
|
Tags:
|
|
1644
1644
|
teams.channel
|
|
1645
1645
|
"""
|
|
@@ -1667,23 +1667,23 @@ class MsTeamsApp(APIApplication):
|
|
|
1667
1667
|
response = self._patch(url, data=request_body_data, params=query_params)
|
|
1668
1668
|
return self._handle_response(response)
|
|
1669
1669
|
|
|
1670
|
-
def
|
|
1670
|
+
def delete_channel_tab(
|
|
1671
1671
|
self, team_id: str, channel_id: str, teamsTab_id: str
|
|
1672
1672
|
) -> Any:
|
|
1673
1673
|
"""
|
|
1674
|
-
|
|
1675
|
-
|
|
1674
|
+
Deletes a specific tab from a Microsoft Teams channel. The function requires the team ID, channel ID, and the tab's unique ID to target and permanently remove the specified tab from the channel's interface.
|
|
1675
|
+
|
|
1676
1676
|
Args:
|
|
1677
1677
|
team_id (string): team-id
|
|
1678
1678
|
channel_id (string): channel-id
|
|
1679
1679
|
teamsTab_id (string): teamsTab-id
|
|
1680
|
-
|
|
1680
|
+
|
|
1681
1681
|
Returns:
|
|
1682
1682
|
Any: Success
|
|
1683
|
-
|
|
1683
|
+
|
|
1684
1684
|
Raises:
|
|
1685
1685
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
1686
|
-
|
|
1686
|
+
|
|
1687
1687
|
Tags:
|
|
1688
1688
|
teams.channel
|
|
1689
1689
|
"""
|
|
@@ -1707,19 +1707,19 @@ class MsTeamsApp(APIApplication):
|
|
|
1707
1707
|
expand: list[str] | None = None,
|
|
1708
1708
|
) -> Any:
|
|
1709
1709
|
"""
|
|
1710
|
-
|
|
1711
|
-
|
|
1710
|
+
Retrieves details for the primary channel (typically 'General') of a specified Microsoft Teams team. Optional parameters allow for selecting specific properties or expanding related entities in the API response. This differs from `get_team_channel_info`, which requires a specific channel ID.
|
|
1711
|
+
|
|
1712
1712
|
Args:
|
|
1713
1713
|
team_id (string): team-id
|
|
1714
1714
|
select (array): Select properties to be returned
|
|
1715
1715
|
expand (array): Expand related entities
|
|
1716
|
-
|
|
1716
|
+
|
|
1717
1717
|
Returns:
|
|
1718
1718
|
Any: Retrieved navigation property
|
|
1719
|
-
|
|
1719
|
+
|
|
1720
1720
|
Raises:
|
|
1721
1721
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
1722
|
-
|
|
1722
|
+
|
|
1723
1723
|
Tags:
|
|
1724
1724
|
teams.channel
|
|
1725
1725
|
"""
|
|
@@ -1732,7 +1732,7 @@ class MsTeamsApp(APIApplication):
|
|
|
1732
1732
|
response = self._get(url, params=query_params)
|
|
1733
1733
|
return self._handle_response(response)
|
|
1734
1734
|
|
|
1735
|
-
def
|
|
1735
|
+
def list_user_installed_apps(
|
|
1736
1736
|
self,
|
|
1737
1737
|
user_id: str,
|
|
1738
1738
|
top: int | None = None,
|
|
@@ -1745,8 +1745,8 @@ class MsTeamsApp(APIApplication):
|
|
|
1745
1745
|
expand: list[str] | None = None,
|
|
1746
1746
|
) -> dict[str, Any]:
|
|
1747
1747
|
"""
|
|
1748
|
-
|
|
1749
|
-
|
|
1748
|
+
Retrieves the collection of applications installed in a specific user's personal Microsoft Teams scope. This function accepts optional parameters for filtering, sorting, and pagination, enabling customized queries to refine the list of apps returned from the Microsoft Graph API.
|
|
1749
|
+
|
|
1750
1750
|
Args:
|
|
1751
1751
|
user_id (string): user-id
|
|
1752
1752
|
top (integer): Show only the first n items Example: '50'.
|
|
@@ -1757,13 +1757,13 @@ class MsTeamsApp(APIApplication):
|
|
|
1757
1757
|
orderby (array): Order items by property values
|
|
1758
1758
|
select (array): Select properties to be returned
|
|
1759
1759
|
expand (array): Expand related entities
|
|
1760
|
-
|
|
1760
|
+
|
|
1761
1761
|
Returns:
|
|
1762
1762
|
dict[str, Any]: Retrieved collection
|
|
1763
|
-
|
|
1763
|
+
|
|
1764
1764
|
Raises:
|
|
1765
1765
|
HTTPStatusError: Raised when the API request fails with detailed error information including status code and response body.
|
|
1766
|
-
|
|
1766
|
+
|
|
1767
1767
|
Tags:
|
|
1768
1768
|
users.userTeamwork
|
|
1769
1769
|
"""
|
|
@@ -1789,35 +1789,35 @@ class MsTeamsApp(APIApplication):
|
|
|
1789
1789
|
|
|
1790
1790
|
def list_tools(self):
|
|
1791
1791
|
return [
|
|
1792
|
-
self.
|
|
1792
|
+
self.get_user_chats,
|
|
1793
1793
|
self.get_joined_teams,
|
|
1794
1794
|
self.list_channels_for_team,
|
|
1795
1795
|
self.send_chat_message,
|
|
1796
1796
|
self.send_channel_message,
|
|
1797
1797
|
self.reply_to_channel_message,
|
|
1798
|
-
self.
|
|
1799
|
-
self.
|
|
1798
|
+
self.create_chat,
|
|
1799
|
+
self.get_chat_details,
|
|
1800
1800
|
self.update_chat_details,
|
|
1801
|
-
self.
|
|
1801
|
+
self.list_installed_chat_apps,
|
|
1802
1802
|
self.list_chat_members,
|
|
1803
1803
|
self.add_member_to_chat,
|
|
1804
|
-
self.
|
|
1804
|
+
self.get_chat_member,
|
|
1805
1805
|
self.delete_chat_member,
|
|
1806
1806
|
self.list_chat_messages,
|
|
1807
|
-
self.
|
|
1808
|
-
self.
|
|
1809
|
-
self.
|
|
1810
|
-
self.
|
|
1807
|
+
self.get_chat_message,
|
|
1808
|
+
self.list_chat_message_replies,
|
|
1809
|
+
self.reply_to_chat_message,
|
|
1810
|
+
self.get_chat_reply_details,
|
|
1811
1811
|
self.create_team_from_group,
|
|
1812
1812
|
self.create_team,
|
|
1813
|
-
self.
|
|
1814
|
-
self.
|
|
1815
|
-
self.
|
|
1816
|
-
self.
|
|
1817
|
-
self.
|
|
1818
|
-
self.
|
|
1819
|
-
self.
|
|
1820
|
-
self.
|
|
1813
|
+
self.get_channel_details,
|
|
1814
|
+
self.update_channel_message,
|
|
1815
|
+
self.update_channel_message_reply,
|
|
1816
|
+
self.list_channel_tabs,
|
|
1817
|
+
self.create_channel_tab,
|
|
1818
|
+
self.get_channel_tab_details,
|
|
1819
|
+
self.update_channel_tab,
|
|
1820
|
+
self.delete_channel_tab,
|
|
1821
1821
|
self.get_primary_team_channel,
|
|
1822
|
-
self.
|
|
1822
|
+
self.list_user_installed_apps,
|
|
1823
1823
|
]
|