Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.34 KB

README.md

File metadata and controls

42 lines (26 loc) · 1.34 KB

Build and publish on version change Nuget

TeamsHook.NET

A .NET client for posting messages to Microsoft Teams via webhooks

Teams Legacy MessageCard Reference

Teams Webhooks Docs

Installation

You can install the latest release by installing the package from NuGet using Install-Package TeamsHook.NET.

Alternatively, clone/fork this repo and compile the source yourself.

Usage

Just create a new TeamsHookClient

var client = new TeamsHookClient();

Create your card

var card = new MessageCard()
{
    //CardOptions
}

Post your message

await client.PostAsync("https://your-teams-webhook", card)

Contributing

Everyone is welcome, who wants to contribute to this repo! Just open an issue with your intention or make a comment in some open issue you would like to work on.