messages.setEncryptedTyping #

Send typing event by the current user to a secret chat.

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool;

Parameters #

NameTypeDescription
peerInputEncryptedChatSecret chat ID
typingBoolTyping.
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

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
400CHAT_ID_INVALIDThe provided chat id is invalid.

boolTrue #

The constructor can be interpreted as a booleantrue value.

boolFalse #

Constructor may be interpreted as a booleanfalse value.