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
49dbfe30
Unverified
Commit
49dbfe30
authored
Jun 12, 2018
by
Mikael Mello
Browse files
Update README about clientCommands
parent
6aa36a8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
49dbfe30
...
...
@@ -282,12 +282,11 @@ The `callback` receives a `ClientCommand` object as the first parameter and retu
-
ClientCommand.u._id: ID of the user,
-
ClientCommand.u.username: Username of the user
-
ClientCommand.cmd: Object representing the command itself
-
ClientCommand.key: String key of the command
-
ClientCommand.options: Addional options or parameters of the command, no defined structure
-
ClientCommand.cmd.key: String key of the command
-
ClientCommand.ts: Timestamp of when the command was issued
`ClientCommandResponse`
object structure:
-
ClientCommandResponse.s
tatus: ID of
the success status of the
response (still unused)
-
ClientCommandResponse.s
uccess: Boolean indicating
the success status of the
command
-
ClientCommandResponse.msg: Message response to the command
### `driver.asyncCall(method, params)`
...
...
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