agentscope-ai / agentscope-ai/agentscope

feat(channel): use Telegram rich and ephemeral messages when supported

未关闭
#2,622 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
31.6k
派生
3.5k
平均合并
1 天 16 小时
30 天内合并 PR
103

描述

## Background

The Telegram channel in #2271 currently targets `python-telegram-bot>=22.8`, whose supported Bot API does not expose the newer rich-message and ephemeral-message capabilities discussed during review.

## Follow-up

When python-telegram-bot supports the required Bot API versions:

- use `sendRichMessage` for native table rendering instead of ASCII tables inside `

`

- use ephemeral messages for group approval prompts so only the requester can see and act on them
- retain safe fallbacks for Telegram clients or deployments where these APIs are unavailable
- add compatibility and permission tests for both paths

Follow-up from #2271.

贡献指南

打开贡献指南

调研方向

Start with the Telegram channel work in #2271 and verify when python-telegram-bot supports the required Bot API versions and rich or ephemeral message APIs. Done means native table rendering and requester-only approval prompts use those APIs when available, safe fallbacks remain, and compatibility and permission tests cover both paths.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
api, backend
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
活跃
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。