MadelineProto/docs/TD_docs/constructors/updateUserAction.md
2017-07-23 16:33:46 +02:00

979 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}