1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 21:39:37 +01:00
MadelineProto/docs/API_docs/constructors/updateUserTyping.md
2017-07-23 16:33:46 +02:00

799 B

title description
updateUserTyping updateUserTyping attributes, type and example

Constructor: updateUserTyping

Back to constructors index

Attributes:

Name Type Required
user_id int Yes
action SendMessageAction Yes

Type: Update

Example:

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

PWRTelegram json-encoded version:

{"_": "updateUserTyping", "user_id": int, "action": SendMessageAction}

Or, if you're into Lua:

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