Send a Channel Message
Prerequisites
- Delegated login.
- Team and channel IDs.
ChannelMessage.Sendconsent.
teams message send --team "$TEAM_ID" --channel "$CHANNEL_ID" --body "Hello from teams-cli" --output json
Verify with:
teams message list --team "$TEAM_ID" --channel "$CHANNEL_ID" --page-size 1 --output json