@pnp/cli-microsoft365 5.2.0-beta.0f1c454 → 5.2.0-beta.119724d

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.
@@ -0,0 +1,48 @@
1
+ # teams channel membership list
2
+
3
+ Lists memberships in the specified Microsoft Teams team channel
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 teams channel membership list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `--teamId [teamId]`
14
+ : The Id of the Microsoft Teams team. Specify either `teamId` or `teamName` but not both
15
+
16
+ `--teamName [teamName]`
17
+ : The display name of the Microsoft Teams team. Specify either `teamId` or `teamName` but not both
18
+
19
+ `--channelId [channelId]`
20
+ : The Id of the Microsoft Teams team channel. Specify either `channelId` or `channelName` but not both
21
+
22
+ `channelName [channelName]`
23
+ : The display name of the Microsoft Teams team channel. Specify either `channelId` or `channelName` but not both
24
+
25
+ `-r, --role [role]`
26
+ : Filter the results to only users with the given role: owner, member, guest
27
+
28
+ --8<-- "docs/cmd/_global.md"
29
+
30
+ ## Examples
31
+
32
+ List the memberships in a specified Microsoft Teams team with id 00000000-0000-0000-0000-000000000000 and channel id 00:00000000000000000000000000000000@thread.skype
33
+
34
+ ```sh
35
+ m365 teams channel membership list --teamId 00000000-0000-0000-0000-000000000000 --channelId 00:00000000000000000000000000000000@thread.skype
36
+ ```
37
+
38
+ List the memberships in a specified Microsoft Teams team with name _Team Name_ and channel with name _Channel Name_
39
+
40
+ ```sh
41
+ m365 teams channel membership list --teamName "Team Name" --channelName "Channel Name"
42
+ ```
43
+
44
+ List all owner memberships in the specified Microsoft Teams team with id 00000000-0000-0000-0000-000000000000 and channel id 00:00000000000000000000000000000000@thread.skype
45
+
46
+ ```sh
47
+ m365 teams channel membership list --teamId 00000000-0000-0000-0000-000000000000 --channelId 00:00000000000000000000000000000000@thread.skype --role owner
48
+ ```
@@ -0,0 +1,53 @@
1
+ # teams chat get
2
+
3
+ Get a Microsoft Teams chat conversation by id, participants or chat name.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 teams chat get [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-i, --id [id]`
14
+ : The ID of the chat conversation. Specify either `id`, `name` or `participants`, but not multiple.
15
+
16
+ `-n, --name [name]`
17
+ : The display name of the chat conversation. Specify either `id`, `name` or `participants`, but not multiple.
18
+
19
+ `-p, --participants [participants]`
20
+ : A comma-separated list of one or more e-mail addresses. Specify either `id`, `name` or `participants`, but not multiple.
21
+
22
+ --8<-- "docs/cmd/_global.md"
23
+
24
+ ## Remarks
25
+
26
+ The output will not include the chat conversation members or messages. It will just retrieve the conversation details.
27
+ When using the `participants` option, the signed-in user will automatically be included as a participant. There's no need to add it to the list manually.
28
+
29
+ ## Examples
30
+
31
+ Get a Microsoft Teams chat conversation by id
32
+
33
+ ```sh
34
+ m365 teams chat get --id 19:2da4c29f6d7041eca70b638b43d45437@thread.v2
35
+ ```
36
+
37
+ Get a Microsoft Teams one on one chat conversation, finding it by participant.
38
+
39
+ ```sh
40
+ m365 teams chat get --participants alexw@contoso.com
41
+ ```
42
+
43
+ Get a Microsoft Teams group chat conversation, finding it by participants.
44
+
45
+ ```sh
46
+ m365 teams chat get --participants alexw@contoso.com,meganb@contoso.com
47
+ ```
48
+
49
+ Get a Microsoft Teams chat conversation, finding it by display name
50
+
51
+ ```sh
52
+ m365 teams chat get --name "Just a conversation"
53
+ ```