Skip to content

Commit

Permalink
feat(qq): interaction/button event add button data (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
502647092 authored Jun 5, 2024
1 parent 58a0064 commit e5a70df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions adapters/qq/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ export async function adaptSession<C extends Context = Context>(bot: QQBot<C>, i
}
session.event.button = {
id: input.d.data.resolved.button_id,
data: input.d.data.resolved.button_data,
}
// session.messageId = input.d.id // event_id is not supported for sending message

Expand Down

0 comments on commit e5a70df

Please sign in to comment.