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

adapter-qq 中 interaction/button 事件 button 添加 data 参数 #277

Closed
502647092 opened this issue May 29, 2024 · 1 comment · Fixed by #281
Closed

adapter-qq 中 interaction/button 事件 button 添加 data 参数 #277

502647092 opened this issue May 29, 2024 · 1 comment · Fixed by #281

Comments

@502647092
Copy link
Contributor

session.event.button = {
id: input.d.data.resolved.button_id,
}

这里可以加一个data

    session.event.button = {
      id: input.d.data.resolved.button_id,
      data: input.d.data.resolved.button_data,
    }
@shigma
Copy link
Contributor

shigma commented May 29, 2024

你要不要开个 PR 修了

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

Successfully merging a pull request may close this issue.

2 participants