Constructor: updateUserTyping

Back to constructors index

The user is preparing a message; typing, recording, uploading, etc. This update is valid for 6 seconds. If no repeated update received after 6 seconds, it should be considered that the user stopped doing whatever he’s been doing.


Name Type Required Description
user_id int Yes User id
action SendMessageAction Yes Action type
Param added in Layer 17.

Type: Update


$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction];

Or, if you’re into Lua:

updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.