Skip to main content

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​

OptionValueRequiredEnvDefaultDescription
--teamTEAMyesTeam ID
--channelCHANNELyesChannel ID
MESSAGE_IDMESSAGE_IDnoMessage ID to pin
--messageMESSAGEnoMessage ID to pin

Examples​

No command-specific examples are published yet.

Exit Codes​

CodeMeaning
0success
2invalid input
3authentication error
4permission denied
5not found
6rate limited

See Also​