Send typing event by the current user to a secret chat.
Method schema is available as of layer 8. Switch ยป
Name | Type | Description |
---|---|---|
peer | InputEncryptedChat | Secret chat ID |
typing | Bool | Typing. Possible values: (boolTrue), if the user started typing and more than 5 seconds have passed since the last request (boolFalse), if the user stopped typing |
Code | Type | Description |
---|---|---|
400 | CHAT_ID_INVALID | The provided chat id is invalid. |
The constructor can be interpreted as a booleantrue
value.
Constructor may be interpreted as a booleanfalse
value.