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

机器人自定义菜单事件,回调时时间戳反序列化失败 #116

Open
Aatroy opened this issue Sep 13, 2023 · 1 comment
Open

Comments

@Aatroy
Copy link

Aatroy commented Sep 13, 2023

https://open.feishu.cn/document/client-docs/bot-v3/bot-customized-menu
文档中提到时间戳为 string

P2BotMenuV6Data.P2BotMenuV6Data 中 时间戳Timestamp为 *string

但回调的时候时间戳为 int 类型

"{"schema":"2.0","header":{"event_id":"xxx","token":"xxx","create_time":"1694592375000","event_type":"application.bot.menu_v6","tenant_key":"xxx","app_id":"xxx"},"event":{"event_key":"xxx","operator":{"operator_id":{xxx},"timestamp":1694592375}}"

@Aatroy
Copy link
Author

Aatroy commented Sep 13, 2023

项目使用 3.0.24版本。更换版本为 3.0.28后,发现已更改为int64,但官网文档仍为string。

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