Skip to main content

teams message reply

Auto-generated reference

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

Reply to a channel message.

Synopsis

teams message reply [OPTIONS] --team <TEAM> --channel <CHANNEL> --message-id <MESSAGE_ID>

Options

OptionValueRequiredEnvDefaultDescription
--teamTEAM_IDyesTeam ID
--channelCHANNEL_IDyesChannel ID
--message, --message-idMESSAGE_IDyesMessage ID to reply to
--bodyTEXTnoReply body text
--stdinnoRead message body from stdin
--content-typeCONTENT_TYPEnotextContent type: text or html
--imageIMAGEnoImage file to send inline, like a pasted screenshot (repeatable)
--attachATTACHnoFile to upload and attach (repeatable; needs a Files.ReadWrite scope)

Examples

No command-specific examples are published yet.

Exit Codes

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

See Also