slackapi / slackapi/bolt-python
get_thread_context within a thread - way to get thread_ts?
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 1.3k
- 派生
- 288
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 10
描述
I'm building an AI app in Slack, and I'm looking to have the bot help with thread summarization. If I open the AI widget when I have a thread open and have the bot call "get_thread_context", I get back the following:
{'channel_id': 'C08MY3JQDRN', 'team_id': 'T08MY3H9SGG', 'enterprise_id': 'E08MLKPKWCR', 'thread_entry_point': 'sunroof', 'force_search': False}
Note that that doesn't include the thread_ts or any real "handle" into the thread that I'm looking at in my main panee - it's just the channel at large. Is there a way to use the "get_thread_context" or something similar to get a handle into the thread so my AI bot can perform a thread summarization?
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先查看 issue 中描述的 get_thread_context 行为,以及 Slack API 关于 thread context 和 thread_ts 的文档。确定 Bolt for Python 是否能够为打开的 Slack thread 暴露一个 thread handle;只有在确定或记录了用于摘要的、受支持的 thread context 获取方式后,这项工作才算完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- api
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100