> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hypersender.com/llms.txt
> Use this file to discover all available pages before exploring further.

# WhatsApp Typing Indicator in Node.js

> Show the WhatsApp typing indicator from Node.js: start and stop typing in a chat with the Hypersender WhatsApp API so your bot replies feel natural to users.

## Overview

Use these methods to show or hide typing indicators in a WhatsApp chat.

## How to avoid getting blocked

We highly recommend reading our full guide on [How to Avoid Getting Blocked on WhatsApp](https://docs.hypersender.com/v2/hypersender/overview/whatsapp/how-to-avoid-getting-blocked-on-whatsapp.md) to ensure your usage complies with WhatsApp's policies and best practices, and see how to leverage these two methods effectively without risking your number being blocked.

### Start Typing

Indicate that the user is typing in a chat. [(learn more)](https://docs.hypersender.com/v2/api-reference/whatsapp/send-messages/start-typing.md)

> [tab] Basic Usage
>
> ```typescript theme={null}
> import { Hypersender } from "hypersender-node";
>
> await Hypersender.whatsapp().startTyping({
>   chatId: "20123456789@c.us",
> });
> ```

> [tab] Parameters
>
> | Parameter | Type | Required | Description |
> | - | - | - | - |
> | chatId | string | yes | The chat ID to indicate typing in |

### Stop Typing

Indicate that the user has stopped typing in a chat. [(learn more)](https://docs.hypersender.com/v2/api-reference/whatsapp/send-messages/stop-typing.md)

> [tab] Basic Usage
>
> ```typescript theme={null}
> import { Hypersender } from "hypersender-node";
>
> await Hypersender.whatsapp().stopTyping({
>   chatId: "20123456789@c.us",
> });
> ```

> [tab] Parameters
>
> | Parameter | Type | Required | Description |
> | - | - | - | - |
> | chatId | string | yes | The chat ID to stop typing in |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.