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

feat:add form value #86

Merged
merged 1 commit into from
Sep 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions api_event_callback.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,11 @@ type EventCardCallback struct {

// EventCardCallbackAction ...
type EventCardCallbackAction struct {
Value json.RawMessage `json:"value"` // 交互元素的value字段值
Tag string `json:"tag"` // 交互元素的tag字段值
Option string `json:"option"` // 选中option的value(button元素不适用)
Value json.RawMessage `json:"value"` // 交互元素的value字段值
Tag string `json:"tag"` // 交互元素的tag字段值
Option string `json:"option"` // 选中option的value(button元素不适用)
Name string `json:"name"` // 按钮的唯一标识
FormValue json.RawMessage `json:"form_value"` // Form内交互组件的name和value
}

// EventCardHandler ...
Expand Down