slack
Use the Slack Web API with the connected
bot token in $SLACK_TOKEN for joined-channel reads and confirmed sends.
Use the separate user token in $SLACK_USER_TOKEN only for public-channel
search. Send either token only to https://slack.com/api/ over HTTPS. Check
the JSON ok field and HTTP status for every response; report Slack's
error value when a call fails. Respect Retry-After on HTTP 429.
Messages are sent as the AceDataCloud bot, not as the user's Slack account.
The app cannot upload files or join channels. Bot channel and conversation
history is available only where the app has been added. Public search covers
public channels in the authorized user's workspace, including channels the
bot has not joined; it does not cover private channels or direct messages.
The bot token cannot use Slack's legacy search.messages method and cannot
use Real-time Search without a Slack event action_token. Never use the user
token to post a message.