Closed skeletonlander closed 4 years ago
You're right, this needs to be reimplemented using a newer method that replaced it.
Note that this is a client-side facility to resolve names to IDs, the underlying APIs don't support #channel
. If you specify actual channel IDs here it won't try to call the deprecated method.
@dblock Hi, I'm having the same issue using client.conversations_info(channel: '#general')
client.conversations_info(channel: '#general')
*** Slack::Web::Api::Errors::SlackError Exception: method_deprecated
Someone please PR a fix.
Run this simple program:
And it will produce this error:
The error is being produced by this API helper class:
It appears that the use of channels_list, which is deprecated, causes this failure.