inputPeerUser

Defines a user for further interaction.

Constructor schema is available as of layer 133. Switch »

Parameters

Name Type Description
user_id long User identifier
access_hash long access_hash value from the user constructor

Type

InputPeer

Related pages

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.