You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i dont know how to send the channels parameter in users.admin.invite.
i'm currently sending the channels as a list like this channels = ["C8687"]
and got this response {'ok': False, 'error': 'channel_not_found'}
How to send this paramter. FYI i'm using slack_client package in python.
The text was updated successfully, but these errors were encountered:
It depends how your channels variable is later combined into the http query to Slack. In general you need to send the list of channel IDs as http query parameter.
Example: https://slack.com/api/users.admin.invite?token=TOKEN&email=abc@xyz,com&channels=C1234567890,G12345678
i dont know how to send the channels parameter in users.admin.invite.
i'm currently sending the channels as a list like this
channels = ["C8687"]
and got this response
{'ok': False, 'error': 'channel_not_found'}
How to send this paramter. FYI i'm using slack_client package in python.
The text was updated successfully, but these errors were encountered: