Link Search Menu Expand Document

Constructor: updateUser

Back to constructors index

User (user and/or userFull) information was updated.

This update can only be received through getDifference or in updates/updatesCombined constructors, so it will always come bundled with the updated user, that should be applied as usual », without re-fetching the info manually.

However, full peer information will not come bundled in updates, so the full peer cache (userFull) must be invalidated for user_id when receiving this update.

Attributes:

NameTypeRequiredDescription
user_idlongYesUser ID

Type: Update

Example:

$updateUser = ['_' => 'updateUser', 'user_id' => long];