You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

非管理员身份下提取Telegram私密频道链接是否可行?

技术疑问

作为Telegram私密频道成员但无管理员权限时,能否提取该频道的链接?
目前我可提取公开频道的ID、标题及@username,仅能提取私密频道的ID与标题。是否可通过交互系统消息实现?
当我将私密频道发送给机器人以获取其信息时,聊天中会出现系统消息"You sent CHANNELTEST to the BOTEST bot"(CHANNELTEST为频道标题),疑似隐藏着频道链接,是否可从中提取?欢迎任何思路与帮助。

当前代码

async def get_channel_info(username_title, client):
    try:
        channel = await client.get_entity(username_title)
        title = channel.title
        username = channel.username

        if not channel.username and channel.broadcast:
            return title, None
        else:
            link = f't.me/{username}'
            return title, link

    except Exception as e:
        print(f"Error: {e}")
        return None, None


@dp.message(F.chat)
async def handle_request_chat(msg: Message):
    chat_info: int = msg.chat_shared.chat_id

    title, channel_link = await get_channel_info(chat_info, client)

未成功的尝试方法

async def get_exported_invites(client, chatlist):
    result = await client(functions.chatlists.GetExportedInvitesRequest(chatlist=chatlist))

内容的提问来源于stack exchange,提问作者XTLSREALITY

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.05 12:52:19