View another event... accounts_changed app_mention app_rate_limited app_uninstalled bot_added bot_changed channel_archive channel_created channel_deleted channel_history_changed channel_joined channel_left channel_marked channel_rename channel_unarchive commands_changed dnd_updated dnd_updated_user email_domain_changed emoji_changed file_change file_comment_added file_comment_deleted file_comment_edited file_created file_deleted file_public file_shared file_unshared goodbye grid_migration_finished grid_migration_started group_archive group_close group_deleted group_history_changed group_joined group_left group_marked group_open group_rename group_unarchive hello im_close im_created im_history_changed im_marked im_open link_shared manual_presence_change member_joined_channel member_left_channel message message.app_home message.channels message.groups message.im message.mpim pin_added pin_removed pref_change presence_change presence_query presence_sub reaction_added reaction_removed reconnect_url resources_added resources_removed scope_denied scope_granted star_added star_removed subteam_created subteam_members_changed subteam_self_added subteam_self_removed subteam_updated team_domain_change team_join team_migration_started team_plan_change team_pref_change team_profile_change team_profile_delete team_profile_reorder team_rename tokens_revoked url_verification user_change user_resource_denied user_resource_granted user_resource_removed user_typing presence_sub event
Subscribe to presence events for the specified users
Ask the message server to subscribe you to
presence events for the specified list of users.
receiving this event type, your app must post it into the websocket. Present an array labeled
ids containing all of the user IDs you want presence subscriptions for.
To use this event, you'll need to first connect with
For instance, to add subscriptions for users
W123456, present JSON like so:
All subscription requests require the entire subscription list _each invocation. To remove subscriptions, do not include their user ID in a subsequent
presence_sub request. To add a new subscription, add it to the array.
In response to your presence subscription request, you'll receive singular or batch
events declaring the current presence status of each user
added to the subscription.
Users that were already present in the subscription will not emit an event until their presence status changes.
presence_sub is rate limited.
presence for more information.
To look up presence ad hoc over an RTM connection, use