agentscope-ai / agentscope-ai/agentscope
feat(channel): use Telegram rich and ephemeral messages when supported
- Dominant language
- Python
- Stars
- 31.6k
- Forks
- 3.5k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 103
Description
## 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 pathsFollow-up from #2271.
Contributor guide
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100