messages.setEncryptedTyping
Send typing event by the current user to a secret chat.
| Name | Type | Required | Description |
|---|---|---|---|
peer | InputEncryptedChat | Yes | Secret chat ID |
typing | Bool | Yes | Typing. **Possible values**: [(boolTrue)](https://core.telegram.org/constructor/boolTrue.md), if the user started typing and more than **5 seconds** have passed since the last request [(boolFalse)](https://core.telegram.org/constructor/boolFalse.md), if the user stopped typing |
Responses
Bool
MTProto RPC
- 400 · CHAT_ID_INVALID — The provided chat id is invalid.