User
- pydantic model User[source]
User model
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
__init__ uses __pydantic_self__ instead of the more common self for the first arg to allow self as a field name.
- Fields:
- field id: int [Required]
The User’s unique id
- field nickname: str [Required]
The User’s display name
- field sec_uid: str [Required]
- field private_account: Optional[bool] = None
- field verified: Optional[bool] = None
- field stats: Optional[UserStats] = None
Set on return from API. Contains user statistics.
- field unique_id: str [Required]
The User’s unique user
- property videos: DeferredItemListIterator