Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the 'graph teams channel message get' command solving #589
- Loading branch information
1 parent
6a36e6b
commit a42c360
Showing
5 changed files
with
537 additions
and
0 deletions.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
docs/manual/docs/cmd/graph/teams/teams-channel-message-get.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# graph teams channel message get | ||
|
||
Retrieves a message from a channel in a Microsoft Teams team | ||
|
||
## Usage | ||
|
||
```sh | ||
graph teams channel message get [options] | ||
``` | ||
|
||
## Options | ||
|
||
Option|Description | ||
------|----------- | ||
`--help`|output usage information | ||
`-i, --teamId <teamId>`|The ID of the team where the channel is located | ||
`-c, --channelId <channelId>`|The ID of the channel that contains the message | ||
`-m, --messageId <messageId>`|The ID of the message to retrieve | ||
`-o, --output [output]`|Output type. `json|text`. Default `text` | ||
`--verbose`|Runs command with verbose logging | ||
`--debug`|Runs command with debug logging | ||
|
||
!!! important | ||
Before using this command, log in to the Microsoft Graph, using the [graph login](../login.md) command. | ||
|
||
## Remarks | ||
|
||
!!! attention | ||
This command is based on an API that is currently in preview and is subject to change once the API reached general availability. | ||
|
||
To retrieve a message from a Microsoft Teams channel, you have to first log in to the Microsoft Graph using the [graph login](../login.md) command, eg. `graph login`. | ||
|
||
You can only retrieve a message from a Microsoft Teams team if you are a member of that team. | ||
|
||
## Examples | ||
|
||
Retrieve the specified message from a channel of the Microsoft Teams team | ||
|
||
```sh | ||
graph teams channel message get --teamId 5f5d7b71-1161-44d8-bcc1-3da710eb4171 --channelId 19:88f7e66a8dfe42be92db19505ae912a8@thread.skype --messageId 1540747442203 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.