fix: correct Telegram allowlist configuration key (#31)

This commit is contained in:
paisley
2026-02-10 16:18:34 +08:00
committed by GitHub
Unverified
parent f0c1931018
commit 518b5f6323
3 changed files with 41 additions and 0 deletions

View File

@@ -127,6 +127,14 @@ export const CHANNEL_META: Record<ChannelType, ChannelMeta> = {
required: true,
envVar: 'TELEGRAM_BOT_TOKEN',
},
{
key: 'allowedUsers',
label: 'Allowed User IDs (optional)',
type: 'text',
placeholder: 'e.g. 123456789, 987654321',
description: 'Comma separated list of User IDs allowed to use the bot. Leave empty to allow everyone (if public) or require pairing.',
required: false,
},
],
instructions: [
'Open Telegram and search for @BotFather',