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

Deprecating antecedents to the conversations api #34

Closed
JBtje opened this issue Sep 13, 2021 · 1 comment
Closed

Deprecating antecedents to the conversations api #34

JBtje opened this issue Sep 13, 2021 · 1 comment

Comments

@JBtje
Copy link

JBtje commented Sep 13, 2021

I want to use this package, to remove all messages from a specific logs channel. However, the channels I use are recently created and the example below results in a method_deprecated error.

$channel = slack()->load('Channel');
dd( $channel->lists() );
{#1351
  +"ok": false
  +"error": "method_deprecated"
  +"response_metadata": {#1349
    +"messages": array:1 [
      0 => "[ERROR] This method is retired and can no longer be used. Please use conversations.list or users.conversations instead. Learn more: https://api.slack.com/changelog/2020-01-deprecating-antecedents-to-the-conversations-api."
    ]
  }
}

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

I believe these changes have not been implemented yet?

mostafasoufi added a commit to mostafasoufi/laravel-slack-api that referenced this issue Dec 12, 2021
vluzrmos added a commit that referenced this issue Dec 13, 2021
Update conversations methods #34
@mostafasoufi
Copy link
Contributor

The issue can be closed since the PR has been merged.

vluzrmos added a commit that referenced this issue Apr 12, 2022
Fix conversations.history limit parameter (relates to #34 & #35)
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

No branches or pull requests

3 participants