Constructor: updateUserStatus

Back to constructors index

User went online/offline


Name Type Required Description
user_id int Yes User identifier
status UserStatus Optional New user status

Type: Update


$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus];

Or, if you’re into Lua:

updateUserStatus={_='updateUserStatus', user_id=int, status=UserStatus}

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