Inumedia / SlackAPI

.NET Implementation of the Slack team communication platform API.
MIT License
452 stars 243 forks source link

netcore2.0, bot_message return values, ephemeral messaging #135

Closed dnuzz closed 6 years ago

dnuzz commented 6 years ago

This adds three things:

  1. Adds .netcoreapp2.0 support so that a warning is no longer thrown when using with netcoreapp2.0 projects
  2. Adds username, bot_id, and icons to the NewMessage class so that when a bot_message is consumed all variables are available from the slack response.
  3. Adds Ephemeral Response capabilities

Minor change: Filters the users during the unit test so that it doesn't include deleted users. Deleted users can have null values which can cause a false failure in the unit test.

gpailler commented 6 years ago

PR applied in the scope of #142