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

PostMessage()为啥收不到消息? #44

Open
chaunsin opened this issue Jun 12, 2024 · 0 comments
Open

PostMessage()为啥收不到消息? #44

chaunsin opened this issue Jun 12, 2024 · 0 comments

Comments

@chaunsin
Copy link

chaunsin commented Jun 12, 2024

版本

  • go version go1.21.10 darwin/amd64
  • sdk github.com/tencent-connect/botgo v0.1.6

描述

一个非常简单得回复功能。我发帖子 @机器人 当服务端收到event事件后,并回复发帖人hello消息,代码片段如下:

image

可以看到服务端收到了事件响应并返回了 http code 202 ,logic code 304023 状态码,通过开发文档得知意思为 PUSH_MSG_ASYNC_OK 推送消息异步调用成功, 等待人工审核,到这里我有两点疑问

  1. 这个人工审核是贵方平台需要审核么?审核通过了才能看到消息是么?
  2. 我使用 PostDirectMessage() 发送私信方法也是返回了http code 202 ,logic code 304023 不同得是我收到了消息,这是为啥?
  3. 是否我使用得场景不对?

希望能作出解答 谢谢!

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

1 participant