List @me Messages in Telegram Group via Forkgram Tdesktop
Preface
We have already implemented pinning groups with @me messages to help us "quickly reach the battlefield"
We also implemented jump to the last message that @me
Furthermore, we optimized it into jump to the previous or next message that @me
But, if there are many @me messages in a group, then the efficiency of navigating previous and next is also too low.
Agent-oriented Development
Hermes connects to the free public welfare site agentrouter's gpt-5.6-sol
The content in the quote boxes below are all natural language I sent to the Agent
Analyze the https://github.com/forkgram/tdesktop project
Currently available features in the group window interface:
Search button - Person button - Select user
Then a search result list is displayed
The Agent reported that the underlying API used is messages.search, with the filter condition being from_id
Discuss, is there a way to change the search condition from From to Mentioned ?
The Agent reported that it is possible.
Now in the group window interface, the search button,
add a new Mentioned me button to the left of the existing person button,
the effect is to open the search results panel (with the Mentioned me filter condition)
Add a new menu item "List msg @me"
The effect is to open the search results panel (with the Mentioned me filter condition)
This development was obviously more complex than the previous ones. During manual testing, some BUGs were found. However, after describing the BUGs in detail, the Agent was able to solve them. For example,
Found a problem during testing,
when the group search button - @ symbol displays search results like this,
turn off mentioned: me, the @ symbol will show up again,
click the @ symbol again, the list is empty
Results
Group menu
Explore the @ button
Jump effect
Github
Code
Release
========
Postscript
The public welfare site agentrouter's gpt-5.6-sol sometimes refuses to work.
The model provider failed after retries. I kept raw provider details out of chat; check gateway logs for diagnostics.
At this time, sending "continue task" sometimes can continue, and sometimes still refuses to work.
If "continue task" does not continue, I will use the free moonshotai/kimi-k3-free from www.tokenrouter.com
Similarly, sometimes it also encounters refusal to work and cannot continue.
If both gpt-5.6-sol and moonshotai/kimi-k3-free refuse to work, I will usethe free oc/deepseek-v4-flash-free
========