const klaxon = new TeamsKlaxon('https://trten.webhook.office.com/...');
A Teams Incoming Webhook
Private
Optional
Make an adaptive card.
klaxon.makeCard([ Elements.TextBlock('Hello _world_!'),]);
Card contents
Verify a card is valid.
klaxon.makeCard([ Elements.TextBlock('Hello _world_!'),]);klaxon.cardIsValid();// true
Post your card to Teams.
klaxon.makeCard([ Elements.TextBlock('Hello _world_!'),]);const response = await klaxon.postCard();response.status// 200
Generated using TypeDoc
Example