inputUser #

Defines a user for further interaction.

Layer 223

inputUser#f21158c6 user_id:long access_hash:long = InputUser;

Parameters #

NameTypeDescription
user_idlongUser identifier
access_hashlongaccess_hash value from the user constructor

Type #

InputUser

user #

Indicates info about a certain user.

Unless specified otherwise, when updating the local peer database, all fields from the newly received constructor take priority over the old constructor cached locally (including by removing fields that aren't set in the new constructor).

See here » for an implementation of the logic to use when updating the local user peer database.