Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

事件订阅重复 #117

Open
law-lee opened this issue Nov 13, 2023 · 1 comment
Open

事件订阅重复 #117

law-lee opened this issue Nov 13, 2023 · 1 comment

Comments

@law-lee
Copy link

law-lee commented Nov 13, 2023

自建应用机器人,在后台配置事件订阅如下图所示
image
使用部分sdk代码如下

handler := dispatcher.NewEventDispatcher("", "").OnP2MessageReceiveV1(func(ctx context.Context, event *larkim.P2MessageReceiveV1) error {

实现给机器人发送消息,回复对应的内容,但是每次发送给机器人的消息都收到两次回复
image

再补充一点就是,我在群聊中发消息只会回复一条

@LinLiang66
Copy link

用幂等msgid 去重

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants