Use the ably rooms typing keystroke command to send a typing indicator in an Ably Chat room.
Synopsis
ably rooms typing keystroke <room-name> [options]Arguments
room-name Required
The name of the chat room to send the typing indicator in.
Options
--auto-type
Keep the typing indicator active continuously. Defaults to false.
--duration | -D
The duration in seconds to keep the typing indicator active.
--client-id
A client ID to use when sending the typing indicator.
--json
Output results as compact JSON. Mutually exclusive with --pretty-json.
--pretty-json
Output results in formatted JSON. Mutually exclusive with --json.
--verbose | -v
Enable verbose logging. Can be combined with --json or --pretty-json.
Examples
Send a typing indicator:
ably rooms typing keystroke my-roomKeep the typing indicator active continuously:
ably rooms typing keystroke my-room --auto-typeSend a typing indicator using an API key environment variable:
ABLY_API_KEY="YOUR_API_KEY" ably rooms typing keystroke my-roomSend a typing indicator and output in JSON format:
ably rooms typing keystroke my-room --jsonSend a typing indicator and output in formatted JSON:
ably rooms typing keystroke my-room --pretty-jsonSee also
- Rooms — Explore all
ably roomscommands. - CLI reference — Full list of available commands.