teams message pin
Auto-generated reference
This page is generated from checked-in CLI metadata for release v0.9.0. Do not edit it by hand.
Pin a message in a channel
Synopsis
teams message pin [OPTIONS] --team <TEAM> --channel <CHANNEL> [MESSAGE_ID]
Options
| Option | Value | Required | Env | Default | Description |
|---|---|---|---|---|---|
--team | TEAM | yes | Team ID | ||
--channel | CHANNEL | yes | Channel ID | ||
MESSAGE_ID | MESSAGE_ID | no | Message ID to pin | ||
--message | MESSAGE | no | Message ID to pin |
Examples
No command-specific examples are published yet.
Exit Codes
| Code | Meaning |
|---|---|
| 0 | success |
| 2 | invalid input |
| 3 | authentication error |
| 4 | permission denied |
| 5 | not found |
| 6 | rate limited |