Commands › Chat & messages
typing_start
Show "typing…" in an IM window
Usage
curl -X POST "https://api.lifebots.cloud/api/bot.html" \
-H "Content-Type: application/json" \
-d '{
"action": "typing_start",
"apikey": "YOUR_API_KEY",
"botname": "Joe Resident",
"secret": "bot-secret-123",
"uuid": "a2e76fcd-9360-4f6d-a924-000000000000",
"dataType": "json"
}' Every request also needs apikey, botname and secret — see Authentication.
Parameters
| Name | Required | Description |
|---|---|---|
uuidUUID | yes | Avatar UUID (names are not accepted). Also accepted as: target |
delayinteger | no | Stop automatically after this many seconds. 0 means never. Default: 15 |
Example response
{
"result": "OK"
} With dataType=json. A failure has result: "FAIL" and the reason in resulttext — see Responses & errors.
Good to know
- Calling typing_start again for the same avatar restarts the countdown. Call typing_stop when your reply is sent rather than relying on the delay.