You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`list-chat-members`|**chatId** (required) | List members of a chat |
43
43
|`add-chat-member`|**chatId**, **userId** (required) | Add a member to a chat |
44
-
|`list-chat-messages`|**chatId**(required), top, filter, orderby | List messages in a chat |
44
+
|`list-chat-messages-all`|**chatId**, **range**(required, e.g. 2h/7d/30m) | Fetch all messages in a chat within a time range (handles pagination automatically)|
45
45
|`get-chat-message`|**chatId**, **messageId** (required) | Get a specific chat message |
46
46
|`post-message`|**chatId**, **content** (required) | Send a message to a chat |
47
47
|`update-chat-message`|**chatId**, **messageId**, **content** (required) | Update a chat message |
48
48
|`send-message-to-self`|**content** (required), contentType | Send a message to yourself |
49
49
|`search-teams-messages`|**message** (required), conversationId | Natural language search across Teams messages |
50
50
51
+
`list-chat-messages` remains functional for compatibility but is intentionally hidden from help/docs. Prefer `list-chat-messages-all`.
52
+
51
53
### mail — Outlook Mail (21 actions)
52
54
| Action | Parameters | Description |
53
55
|--------|-----------|-------------|
@@ -160,7 +162,7 @@ m365 teams post-message chatId="<chat_id-from-fav>" content="Hey!" --json
160
162
```bash
161
163
m365 fav get project-alpha --json
162
164
# → Returns chat_id, then:
163
-
m365 teams list-chat-messages chatId="<chat_id>"top=20 --json
165
+
m365 teams list-chat-messages-all chatId="<chat_id>"range=2h --json
164
166
```
165
167
166
168
#### Post to a favorite channel
@@ -193,9 +195,8 @@ Summarize messages from a specific chat/person or across all favorites.
0 commit comments