User constructor

User(
  1. {required int id,
  2. required String first_name,
  3. required String last_name,
  4. Usernames? usernames,
  5. required String phone_number,
  6. required UserStatus status,
  7. ProfilePhoto? profile_photo,
  8. EmojiStatus? emoji_status,
  9. required bool is_contact,
  10. required bool is_mutual_contact,
  11. required bool is_close_friend,
  12. required bool is_verified,
  13. required bool is_premium,
  14. required bool is_support,
  15. required String restriction_reason,
  16. required bool is_scam,
  17. required bool is_fake,
  18. required bool has_active_stories,
  19. required bool has_unread_active_stories,
  20. required bool have_access,
  21. required UserType type,
  22. required String language_code,
  23. required bool added_to_attachment_menu,
  24. int? extra,
  25. int? clientId}
)

Represents a user

Implementation

User