1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 05:36:56 +01:00
MadelineProto/docs/TD_docs/constructors/updateUserAction.md
2017-07-23 16:11:02 +02:00

982 B

title description
updateUserAction Some chat activity

Constructor: updateUserAction

Back to constructors index

Some chat activity

Attributes:

Name Type Required Description
chat_id long Yes Chat identifier
user_id int Yes Identifier of user doing action
action SendMessageAction Yes Action description

Type: Update

Example:

$updateUserAction = ['_' => 'updateUserAction', 'chat_id' => long, 'user_id' => int, 'action' => SendMessageAction, ];

PWRTelegram json-encoded version:

{"_":"updateUserAction","chat_id":"long","user_id":"int","action":"SendMessageAction"}

Or, if you're into Lua:

updateUserAction={_='updateUserAction', chat_id=long, user_id=int, action=SendMessageAction, }