diff --git a/lib/routes/telegram/tglib/channel.ts b/lib/routes/telegram/tglib/channel.ts index d9b85e2f0be8bd..6ca98b2a2dfbce 100644 --- a/lib/routes/telegram/tglib/channel.ts +++ b/lib/routes/telegram/tglib/channel.ts @@ -153,10 +153,10 @@ export default async function handler(ctx) { return { title: channelInfo.title, language: null, - link: `https://t.me/${channelInfo.username}`, + link: `https://t.me/${ctx.req.param('username')}`, item, allowEmpty: ctx.req.param('id') === 'allow_empty', - description: `@${channelInfo.username} on Telegram`, + description: `@${ctx.req.param('username')} on Telegram`, }; }