larksuite / larksuite/cli

通过"复制消息链接"获取的加密链接,飞书cli无法直接定位具体message/chat/thread位置

Open
#1,031 9 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

domain/im enhancement
Dominant language
Go
Stars
17.3k
Forks
1.4k
Avg merge
2d 4h
Merged PRs (30d)
105

Description

我们经常需要复制消息链接,推送给agent分析问题,最终回复这条消息
换用飞书之后,虽然支持"复制消息链接",但是看起来消息链接的参数是一个加密了的token
形如
https://applink.feishu.cn/client/message/link/open?token=xxxxxx
飞书cli即使有用户权限也无法正常解析,无法定位到具体是什么message/chat/thread(om、oc、oct id)
会自动通过搜索的方式去匹配,但是基本上搜不正确,会自动回复在其他chat中。
这个问题十分困扰,让飞书的自动化产生了断层。
建议飞书开放从token计算message/chat/thread id的接口,并接入飞书cli。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Feishu CLI's handling of copied message links and checking the available Feishu APIs for resolving the encrypted token. Confirm whether an official token-resolution endpoint exists; done means a copied link identifies the exact message, chat, and thread instead of relying on search.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.