=== Migration Started: Channel Limits & Admin Management === Step 1: Migrating channels table... ✓ join_limit column already exists ✓ time_limit_hours column already exists ✓ is_active column already exists Step 2: Creating dynamic_admins table... ✓ dynamic_admins table created Step 3: Verifying channel_lock_stats table... ✓ channel_lock_stats table verified (supports 'left' action) === Migration Completed Successfully === New Features Available: 1. ⚙️ Channel Limits: - Set maximum number of joins per channel - Set time limit (in hours) for channel locks - Channels auto-disable when limits are reached 2. 👥 Admin Management: - Add/remove dynamic admins from the panel - Config admins (in config.php) cannot be removed - Track who added each admin and when 3. 📊 Left User Tracking: - Automatically track users who leave channels - View 'left' count in channel statistics - Requires chat_member updates to be enabled in BotFather IMPORTANT: Enable chat_member updates (2 steps required): STEP 1: Update webhook configuration Run: php setup.php This updates the webhook to receive chat_member updates STEP 2: Enable in BotFather 1. Message @BotFather 2. Select your bot 3. Go to Bot Settings > Group Privacy > Turn OFF 4. Go to Bot Settings > Allow Groups > Turn ON Both steps are REQUIRED for left user tracking to work!