Closed tzwm closed 1 year ago
session.send 会自动带上上一条消息的 id。可能飞书适配器并没有用这个特性。
What is the thread that you referring to? Is there documents about this? It may be not implemented yet.
The thread is like this screenshot. I message the bot, which replies to me by a thread. So I can use the thread to start different conversations with ChatGPT at the same time.
I find the document about this. The Reply API can do it. I don't know how to integrate this useful function into the Koishi elegantly.
I also wrote a bot before, which is very similar to the Koishi. I moved to the Koishi until I found it and liked it. The only one I missed is this thread function.
I first used thread
through the new function of Slack at that time.
You can find more descriptions about thread
in the Slack document.
So you're talking about the reply feature. I thought this feature have been implemented before as long as there is a quote
element with a valid message id.
Here's the reference code, is there something I missed out? https://github.com/satorijs/satori/blob/6060d00c563d4c523b733098029840421d97c4eb/adapters/lark/src/message.ts#L25-L31
Thanks! This may be what I need. I will try it……
理论上回复的时候带上上一条消息的 message_id 应该就可以,但我不是很清楚我在用 koishi
session.send
的时候如何带上 message_id 参数。