Spaces:
Sleeping
Sleeping
Kvikontent
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def get_telegram_info(channel_id):
|
|
17 |
title = chat.title
|
18 |
username = chat.username
|
19 |
members_count = chat.get_members_count()
|
20 |
-
|
21 |
name = chat.first_name
|
22 |
description = chat.description
|
23 |
permissions = chat.permissions
|
@@ -26,7 +26,7 @@ def get_telegram_info(channel_id):
|
|
26 |
st.write("Title:", title)
|
27 |
st.write("Username:", username)
|
28 |
st.write("Members/Subscribers Count:", members_count)
|
29 |
-
st.write("Type:",
|
30 |
st.write("Name:", name)
|
31 |
st.write("Description:", description)
|
32 |
st.write("Permissions:", permissions)
|
|
|
17 |
title = chat.title
|
18 |
username = chat.username
|
19 |
members_count = chat.get_members_count()
|
20 |
+
ctype = chat.type
|
21 |
name = chat.first_name
|
22 |
description = chat.description
|
23 |
permissions = chat.permissions
|
|
|
26 |
st.write("Title:", title)
|
27 |
st.write("Username:", username)
|
28 |
st.write("Members/Subscribers Count:", members_count)
|
29 |
+
st.write("Type:", ctype)
|
30 |
st.write("Name:", name)
|
31 |
st.write("Description:", description)
|
32 |
st.write("Permissions:", permissions)
|