Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
More docs on user presence
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhammond committed Dec 22, 2014
1 parent 5d9d680 commit e8deb9d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions page_presence.md
Expand Up @@ -32,3 +32,14 @@ method will persist between connections.
A manual `away` status set using this method overrides the automatic presence
determined by the message server. A manual `active` presence set using this
method indicates that the automatic status should be used instead.

## Fetching user presence

When using the [Real Time Messaging API](/rtm) the initial call to
[rtm.start](/methods/rtm.start) will include the current presence value for every
member of your team. If their presence value changes a
[presence_change event](/events/presence_change) event will be sent.

When using our [Web API](/web), you can call the
[users.getPresence](/methods/users.getPresence) method to get the user's
current presence value.

0 comments on commit e8deb9d

Please sign in to comment.