Skip to main content

teams notify send-to-chat

Auto-generated reference

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

Send activity notification to a chat

Synopsis​

teams notify send-to-chat [OPTIONS] --topic <TOPIC> --activity-type <ACTIVITY_TYPE> --preview <PREVIEW> <CHAT_ID>

Options​

OptionValueRequiredEnvDefaultDescription
CHAT_IDCHAT_IDyesChat ID
--topicTOPICyesNotification topic text
--activity-typeACTIVITY_TYPEyesActivity type
--previewPREVIEWyesPreview text content
--recipient-userRECIPIENT_USERnoRecipient user ID (optional)

Examples​

No command-specific examples are published yet.

Exit Codes​

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

See Also​