/TeamsHook.NET

.NET Client for sending messages to Microsoft Teams via WebHook

Primary LanguageC#MIT LicenseMIT

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.