Skip to content

v0.7.3

Compare
Choose a tag to compare
@soxtoby soxtoby released this 12 Jul 02:17
· 263 commits to master since this release
  • SlackBot uses conversations API internally, as channels/groups/mpim/im APIs have been deprecated by Slack.
  • Added conversation equivalents of channels/groups/mpim/im methods to SlackBot.
  • Default methods' parameters are now optional.
  • Added new Mark method to ConversationsApi.
  • Added cursor-based paging to FilesApi.Info, ReactionsApi.List, and StarsApi.List.

Potentially-Breaking Changes

  • Hub-based methods, properties, and types have been marked as Obsolete. Conversations have the same properties as Channels and Ims, so migrating should be straightforward. The main difference is that rather than having different APIs and methods for channels/groups etc., everything is just a "conversation". If you need to differentiate between the different types of conversations, use the IsChannel, IsGroup etc. properties.
    • SlackBot uses the same API & cache for Conversations, Channels, and Ims, and ConversationIdentifiers are interchangeable with HubIdentifiers, so migrating piecemeal should work OK.
  • The cursor parameter added to FilesApi.Info, ReactionsApi.List, and StarsApi.List was added before the CancellationToken, so on the off chance you were using every single parameter, you'll need to specify the parameter name for the CancellationToken.