@pnp/cli-microsoft365 6.2.0-beta.01dcbcb → 6.2.0-beta.725ebd5

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.
@@ -1,6 +1,6 @@
1
1
  # teams chat list
2
2
 
3
- Lists all Microsoft Teams chat conversations for the current user.
3
+ Lists all Microsoft Teams chat conversations for the current or a specific user.
4
4
 
5
5
  ## Usage
6
6
 
@@ -10,9 +10,15 @@ m365 teams chat list [options]
10
10
 
11
11
  ## Options
12
12
 
13
- `-t, --type [chatType]`
13
+ `-t, --type [type]`
14
14
  : The chat type to optionally filter chat conversations by type. The value can be `oneOnOne`, `group` or `meeting`.
15
15
 
16
+ `--userId [userId]`
17
+ : ID of the user. Has to be specified when using application permissions. Specify either `userId` or `userName`, but not both.
18
+
19
+ `--userName [userName]`
20
+ : UPN of the user. Has to be specified when using application permissions. Specify either `userId` or `userName`, but not both.
21
+
16
22
  --8<-- "docs/cmd/_global.md"
17
23
 
18
24
  ## Examples
@@ -23,10 +29,16 @@ List all the Microsoft Teams chat conversations of the current user.
23
29
  m365 teams chat list
24
30
  ```
25
31
 
26
- List only the one on one Microsoft Teams chat conversations.
32
+ List only the one on one Microsoft Teams chat conversations of a specific user retrieved by id.
33
+
34
+ ```sh
35
+ m365 teams chat list --userId e6296ed0-4b7d-4ace-aed4-f6b7371ce060 --type oneOnOne
36
+ ```
37
+
38
+ List only the group Microsoft Teams chat conversations of a specific user retrieved by mail
27
39
 
28
40
  ```sh
29
- m365 teams chat list --type oneOnOne
41
+ m365 teams chat list --userName 'john@contoso.com' --type group
30
42
  ```
31
43
 
32
44
  ## Response