Skip to main content

teams message update

Auto-generated reference

This page is generated from checked-in CLI metadata for release v0.9.0. Do not edit it by hand.

Update a message

Synopsis​

teams message update [OPTIONS] --body <BODY> [MESSAGE_ID]

Options​

OptionValueRequiredEnvDefaultDescription
--teamTEAMnoTeam ID (for channel messages; requires --channel)
--channelCHANNELnoChannel ID (for channel messages; requires --team)
--chatCHATnoChat ID (for chat messages)
MESSAGE_IDMESSAGE_IDnoMessage ID
--messageMESSAGEnoMessage ID
--bodyBODYyesNew message body
--content-typeCONTENT_TYPEnotextContent type: text or html

Examples​

No command-specific examples are published yet.

Exit Codes​

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

See Also​