Skip to content

SRT5752/SlackConnector

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SlackConnector

Build status [Test status] (https://ci.appveyor.com/project/Workshop2/slackconnector-glqir) Nuget.org NuGet

SlackConnector initiates an open connection between you and the Slack servers. SlackConnector uses web-sockets to allow real-time messages to be received and handled within your application.

History

This library was originally extracted MargieBot and has iterated on it's own to become testable and progress without being coupled to any one implementation. This library has been built for noobot, however it can easily be used in any project due to it's decoupling.

Installation

Install-Package SlackConnector

Usage

ISlackConnector connector = new SlackConnector.SlackConnector();
ISlackConnection connection = await connector.Connect(slackKey);
connection.OnMessageReceived += MessageReceived;
connection.OnConnectionStatusChanged += ConnectionStatusChanged;

##Features

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

About

A simple to use connector for the Slack API in C#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.9%
  • Batchfile 0.1%