Update main.py
Browse files
main.py
CHANGED
@@ -42,9 +42,23 @@ async def get_user(user_id=None):
|
|
42 |
"is_fake": get_users.is_fake,
|
43 |
"is_support": get_users.is_support,
|
44 |
"is_premium": get_users.is_premium,
|
|
|
|
|
|
|
|
|
|
|
45 |
"first_name": get_users.first_name,
|
46 |
"status": get_users.status.name,
|
|
|
|
|
47 |
"username": get_users.username if get_users else None,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
}
|
49 |
|
50 |
run_fast(build=fast_app, port=7860)
|
|
|
42 |
"is_fake": get_users.is_fake,
|
43 |
"is_support": get_users.is_support,
|
44 |
"is_premium": get_users.is_premium,
|
45 |
+
"is_contact_require_premium": get_users.is_contact_require_premium,
|
46 |
+
"is_close_friend": get_users.is_close_friend,
|
47 |
+
"is_stories_hidden": get_users.is_stories_hidden,
|
48 |
+
"is_stories_unavailable": get_users.is_stories_unavailable,
|
49 |
+
"is_business_bot": get_users.is_business_bot,
|
50 |
"first_name": get_users.first_name,
|
51 |
"status": get_users.status.name,
|
52 |
+
"last_online_date": get_users.last_online_date,
|
53 |
+
"dc_id": get_users.dc_id,
|
54 |
"username": get_users.username if get_users else None,
|
55 |
+
"photo": {
|
56 |
+
"small_file_id": get_users.small_file_id,
|
57 |
+
"small_photo_unique_id": get_users.small_photo_unique_id,
|
58 |
+
"big_file_id": get_users.big_file_id,
|
59 |
+
"has_animation": get_users.has_animation,
|
60 |
+
"is_personal": get_users.is_personal
|
61 |
+
}
|
62 |
}
|
63 |
|
64 |
run_fast(build=fast_app, port=7860)
|