InputUser

class pyrogram.raw.base.InputUser

Defines a user for subsequent interaction.

Constructors:

This base type has 4 constructors available.

InputUser

Defines a user for further interaction.

InputUserEmpty

Empty constructor, does not define a user.

InputUserFromMessage

Defines a min user that was seen in a certain message of a certain chat.

InputUserSelf

Defines the current user.

TL Schema

inputUser#f21158c6
user_id:long
access_hash:long

= InputUser

Parameter Tree

InputUser
├── user_idlong
└── access_hashlong

Example

InputUser(
    user_id=0,
    access_hash=0,
)