Skip to content

v0.2.0

Compare
Choose a tag to compare
@soxtoby soxtoby released this 26 May 09:36
· 354 commits to master since this release
  • Updated existing APIs.
  • Added support for message actions.
  • Added support for handling dialog cancellation.
  • Added methods to SlackRtmClient to subscribe to and query for user presence events.
  • Fixed a bunch of deserialization failures caused by missing getters (thanks to @eFloh for picking this up).
  • Fixed typing of ConversationsApi.Open.
  • SlackBot correctly sets Hub on incoming IMs.

Breaking Changes:

  • ConversationsApi.Open takes in a channelId or userIds, and only returns a channel ID.
  • ConversationsApi.Open no longer takes in returnIm. Use ConversationsApi.OpenAndReturnInfo instead.
  • Removed UsersApi.List's presence parameter, as it is no longer supported.
  • Removed UsersApi.SetActive method, as it is no longer supported.
  • Most file events now only contain a file ID instead of a whole file, since that's what Slack sends.
  • FileShare messages contain a Files list instead of a single File.
  • Removed FileCommentsApi's Add and Edit methods, as they are no longer supported.
  • IDialogSubmissionHandler must now implement HandleCancel. Just return Task.CompletedTask if you don't care about cancelled dialogs.
  • DndApi.TeamInfo's userIds parameter is now required.
  • With the addition of MessageAction support, there are a few "Action"-related renames:
    • Renamed ISlackActions to ISlackInteractiveMessages.
    • Renamed IActionHandler to IInteractiveMessageHandler.
    • Renamed SlackServiceConfiguration.RegisterActionHandler to RegisterInteractiveMessageHandler.