errbotio / errbot

Errbot is a chatbot, a daemon that connects to your favorite chat service and bring your tools and some fun into the conversation.
http://errbot.io
GNU General Public License v3.0
3.12k stars 614 forks source link

fixing the im.open deprecated call #1432

Closed jcastro-sfdc closed 4 years ago

jcastro-sfdc commented 4 years ago

using conversations.open, this will work for all apps/bots created after June 10, 2020

1431

gkspranger commented 4 years ago

👍 👍 👍

sijis commented 4 years ago

Will this also work with older apps?

jcastro-sfdc commented 4 years ago

@sijis Yes it will. However,the deprecated messages will stop working in February 2021 all together. Errbot also uses the group and channel methods which should be changed to "conversations" method too.

from the Slack website:

"This method is deprecated. It will stop functioning in February 2021 and will not work with newly created apps after June 10th, 2020."

jcastro-sfdc commented 4 years ago

im.open and conversations.open will work with all apps created before June 10, 2020 but you should still change your im, group and channel methods to conversations. :). my last reply was a bit messy