Slack. Web. Rtm
(SlackKit v1.0.0-alpha.0)
View Source
Summary
Functions
Starts a Real Time Messaging session.
Deprecated: Starts a Real Time Messaging session. Use rtm.connect instead.
Functions
Starts a Real Time Messaging session.
API reference
Rate limit: Tier 1: 1+ per minute
Scopes: No scopes required
Optional Params
batch_presence_aware- Batch presence deliveries via subscription. Enabling changes the shape ofpresence_changeevents. See batch presence. ex:1presence_sub- Only deliver presence events when requested by subscription. See presence subscriptions.
Errors the API can return:
migration_in_progress- Team is being migrated between servers. See theteam_migration_startedevent documentation for details.
See the Common Errors guide for errors returned by every Web API method.
Deprecated: Starts a Real Time Messaging session. Use rtm.connect instead.
API reference
Rate limit: Tier 1: 1+ per minute
Scopes: No scopes required
Optional Params
batch_presence_aware- Batch presence deliveries via subscription. Enabling changes the shape ofpresence_changeevents. See batch presence. ex:1include_locale- Set this totrueto receive the locale for users and channels. Defaults tofalsempim_aware- Returns MPIMs to the client in the API response.no_latest- Exclude latest timestamps for channels, groups, mpims, and ims. Automatically setsno_unreadsto1ex:1no_unreads- Skip unread counts for each channel (improves performance).presence_sub- Only deliver presence events when requested by subscription. See presence subscriptions.simple_latest- Return timestamp only for latest message object of each channel (improves performance).
Errors the API can return:
migration_in_progress- Workspace is being migrated between servers. See theteam_migration_startedevent documentation for details.rtm_connect_required-rtm.startis deprecated. Please usertm.connectinstead ofrtm.start. Read https://docs.slack.dev/changelog/2021-10-rtm-start-to-stop for more info.
See the Common Errors guide for errors returned by every Web API method.