startTyping
From SmartBots Developers Docs
Bot PlaygroundCommands
Revision as of 11:04, 23 June 2023 by NealB (Talk | contribs) (Created page with "{{DISPLAYTITLE:{{SUBPAGENAME}}}} <onlyinclude>Sends "typing" in chat to a specific user.</onlyinclude> <syntaxhighlight lang="javascript"> Bot.startTyping(uuid); </syntaxhigh...")
Jump to: navigation, search
Sends "typing" in chat to a specific user.
Bot.startTyping(uuid);
Reference
This command accepts the following parameters:
| Variable | Required | Description
| |
|---|---|---|---|
| Input: | |||
| uuid | yes | The uuid to send the "typing" in chat | |
| delay | optional | The delay option to determine how long the "typing" in chat stays. Defaults to 15 seconds. | |
| Output: | |||
| Function returns a Promise with the following data: | |||
| success | bool | true if command completed successfully | |
| error | string | error string if command has failed | |
Examples
Bot.startTyping(1fd5b697-604c-4e34-91f9-f5c98cc46fa3, "20");
- startTyping