Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
RocketChat
Rocket.Chat.js.SDK
Commits
e507e86f
Commit
e507e86f
authored
Nov 11, 2019
by
Gabriel Rufino
Committed by
Diego Sampaio
Nov 11, 2019
Browse files
Fix typo in documentation: `onlineIDs` -> `onlineIds` (#105)
parent
fd1869fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
e507e86f
...
...
@@ -167,7 +167,7 @@ parameters defining the endpoint, payload and if authorization is required
(respectively). See the
[
REST API docs
][
rest
]
for details.
Some common requests for user queries are made available as simple helpers under
`api.users`
, such as
`api.users.onlineI
D
s()`
which returns the user IDs of all
`api.users`
, such as
`api.users.onlineI
d
s()`
which returns the user IDs of all
online users. Run
`ts-node src/utils/users.ts`
for a demo of user query outputs.
## MESSAGE OBJECTS
...
...
@@ -507,7 +507,7 @@ Helper for querying online users
Helper for querying online usernames
-
Returns promise, resolves with array of usernames
### `api.users.onlineI
D
s()`
### `api.users.onlineI
d
s()`
Helper for querying online user IDs
-
Returns promise, resolves with array of IDs
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment