provider rtm GET /rtm.connect
@utdk/slack /rtm.connect
rtm_connect
Starts a Real Time Messaging session.
token query required
Authentication token. Requires scope: `rtm:stream`
string
batch_presence_aware query
Batch presence deliveries via subscription. Enabling changes the shape of `presence_change` events. See [batch presence](/docs/presence-and-status#batching).
boolean
presence_sub query
Only deliver presence events when requested by subscription. See [presence subscriptions](/docs/presence-and-status#subscriptions).
boolean

Try it

Authentication
Configure credentials for Slack Web API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

rtmConnect
GET/rtm.connect
Starts a Real Time Messaging session.

required

Authentication token. Requires scope: `rtm:stream`

Batch presence deliveries via subscription. Enabling changes the shape of `presence_change` events. See [batch presence](/docs/presence-and-status#batching).

Only deliver presence events when requested by subscription. See [presence subscriptions](/docs/presence-and-status#subscriptions).

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import slack from '@utdk/slack';

await slack.rtmConnect()