-
Notifications
You must be signed in to change notification settings - Fork 370
Open
Description
Hi
When running "teams chat message list" the command returns all the messages in the specified chat. On old/verbose chats this takes a lot of time and sometimes even fails
The Microsoft Graph itself has a default limit to 20 messages only (that can be overrided by adding $top=xx option)
It would be great to add the following options to "teams chat message list" :
- --startTime [startTime] (as per outlook message list, similar to $filter option in Microsoft graph)
- --endTime [endTime] (as per outlook message list, similar to $filter option in Microsoft graph) - default now
- --topMessages [number] (same as $top option in Microsoft graph) - Max number of returned messages - default 20
- --orderBy (same as $orderby option in Microsoft graph) lastModifiedDateTime or createdDateTime (Microsoft supports only decreasing order)
Best regards
waldekmastykarz