Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use conversations.list #35

Merged
merged 1 commit into from Jun 21, 2020
Merged

Use conversations.list #35

merged 1 commit into from Jun 21, 2020

Conversation

tomascohen
Copy link
Contributor

This patch makes the connect() method use the new converations.list
route instead of the now obsolete im.list one.

Without this patch, new apps built on top of Slack::RTM::Bot cannot
initiate. Previously created ones can still connect, until February 24th, 2021 [1]

[1]
https://api.slack.com/changelog//2020-01-deprecating-antecedents-to-the-conversations-api#prepare

Signed-off-by: Tomas Cohen Arazi tomascohen@theke.io

This patch makes the connect() method use the new converations.list
route instead of the now obsolete im.list one.

Without this patch, new apps built on top of Slack::RTM::Bot cannot
initiate. Previously created ones can still connect, until February 24th, 2021 [1]

[1]
https://api.slack.com/changelog//2020-01-deprecating-antecedents-to-the-conversations-api#prepare

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
@duck8823 duck8823 linked an issue Jun 21, 2020 that may be closed by this pull request
@duck8823
Copy link
Owner

awsome!

@duck8823 duck8823 merged commit 435f3fc into duck8823:master Jun 21, 2020
duck8823 added a commit that referenced this pull request Jul 5, 2020
Changelog diff is:

diff --git a/Changes b/Changes
index 090167c..6ee1321 100644
--- a/Changes
+++ b/Changes
@@ -2,6 +2,10 @@ Revision history for Perl extension Slack-RTM-Bot
 
 {{$NEXT}}
 
+1.13 2020-07-05T15:03:42Z
+
+  - #35 Use conversations.list
+
 1.12 2019-05-04T01:44:52Z
 
    - #30 Avoid getting killed by a bug in Slack.
duck8823 added a commit that referenced this pull request Nov 13, 2022
Changelog diff is:

diff --git a/Changes b/Changes
index 6ee1321..1e606cc 100644
--- a/Changes
+++ b/Changes
@@ -2,6 +2,13 @@ Revision history for Perl extension Slack-RTM-Bot
 
 {{$NEXT}}
 
+1.15 2022-11-13T06:40:31Z
+
+  - #38 Users -> Members fix
+  - #40 Use rtm connect api
+  - #41 fix failed to send direct messages
+  - #42 Use rtm.connect instead of rtm.start
+
 1.13 2020-07-05T15:03:42Z
 
   - #35 Use conversations.list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

im.* deprecated
2 participants