Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.04 KB

File metadata and controls

39 lines (25 loc) · 1.04 KB

SlackLibrary

Nuget.org

SlackLibrary is a C# client to initiate and manage an open connection between you and the Slack servers. SlackLibrary uses web-sockets to allow real-time messages to be received and handled within your application. You can also use the API methods with classic HTTP requests.

This library implement slack block !

History

This library is a fork of SlackConnector but with better support for modern slack feature (like blocks) and a more complete API methods implementation.

Installation

Install-Package SlackLibrary

Usage

ISlackConnector connector = new SlackConnector.SlackConnector();
ISlackConnection connection = await connector.Connect(botAccessToken);
connection.OnMessageReceived += MessageReceived;
connection.OnDisconnect += Disconnected;

##Features

  • Async by default
  • Easy setup
  • Real-time communication
  • Supports default proxies
  • Unit tested
  • Slack mock server