Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Add example getting channel messages #2919

Merged
merged 1 commit into from
Oct 5, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Commands/Teams/GetTeamsChannelMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ namespace PnP.PowerShell.Commands.Graph
Category = CmdletHelpCategory.Teams,
SupportedPlatform = CmdletSupportedPlatform.Online)]
[CmdletExample(
Code = "PS:> Submit-PnPTeamsChannelMessage -Team MyTestTeam -Channel \"My Channel\" -Message \"A new message\"",
Remarks = "Sends \"A new message\" to the specified channel",
Code = "PS:> Get-PnPTeamsChannelMessage -Team 07d9dbfb-cbf2-4dc1-92c6-7921f5931b3d -Channel \"My Channel\"",
Remarks = "Gets all messages of the specified channel",
SortOrder = 1)]
[CmdletMicrosoftGraphApiPermission(MicrosoftGraphApiPermission.Group_ReadWrite_All)]
public class GetTeamsChannelMessage : PnPGraphCmdlet
Expand Down