users.getPresence
method
We're still building and not all features are available quite yet. Enjoy this peek into the future!
Not ready for the future? Return to the past at api.slack.com.
Usage info
This method lets you find out information about a user's presence. Consult the presence documentation for more details.
Response
presence
indicates the user's overall presence, it will either be active
or away
.
online
will be true if they have a client currently connected to Slack. auto_away
will be true if our servers haven't detected any activity from the user in the last 10 minutes. manual_away
will be true if the user has manually set their presence to away
.
connection_count
gives a count of total connections.
last_activity
indicates the last activity seen by our servers. If a user has no connected clients then this property will be absent.