Skip to content

Commit

Permalink
fix unreal fields
Browse files Browse the repository at this point in the history
  • Loading branch information
abesmon committed Oct 30, 2024
1 parent 31242ca commit d656388
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,8 @@ async def chat_info_command(update: Update, context: ContextTypes.DEFAULT_TYPE):
ID: {chat.id}
Type: {chat.type}
Title: {chat.title}
Description: {chat.description or 'No description'}
Members count: {await chat.get_member_count()}
Username: {f'@{chat.username}' if chat.username else 'No username'}
Can send messages: {chat.permissions.can_send_messages if chat.permissions else 'N/A'}
Invite link: {await chat.export_invite_link() if chat.type != 'private' else 'N/A'}
"""
await update.message.reply_text(chat_info)
Expand Down

0 comments on commit d656388

Please sign in to comment.