Skip to content

Introduce search functionality in slack conversations.list & users.list method by name or any other method to search. #2468

@Amark19

Description

@Amark19

Issues:

Currently, slack web-api only supports listing channels or users with these methods. But me & my team have faced a problem when our customer has a lot of channels/users present in their workspace. And currently we need to retrieve all channels/users by cursor based pagination but since channels/users are too huge & it requires a lot of pages to return the all data due to which API throws rate limit error.

Why do I need all list ?

I want my user to select only one channel among thousands/lakhs of channels present in their workspace so that user can send message using our service or can configure certain channel to automatically get daily updates. So, here although end goal is to let user search & select for the channel that they want to configure but to achieve this we need to fetch all data and that feels too counterintuitive.

If search functionality can be introduce this can be solved very easily or can suggest any other workaround here.

Packages:

Select all that apply:

  • @slack/web-api
  • @slack/rtm-api
  • @slack/webhooks
  • @slack/oauth
  • @slack/socket-mode
  • @slack/types
  • I don't know

Requirements

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendIssue related to the Slack APIenhancementM-T: A feature request for new functionalityslack-product-issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions