Skip to content

Commit

Permalink
feat:add form value (#86)
Browse files Browse the repository at this point in the history
Change-Id: Id768a6409fd1706341f9cd27fce08996c6926089

Co-authored-by: panzhixiong <panzhixiong@bytedance.com>
  • Loading branch information
pumzx and panzhixiong authored Sep 14, 2023
1 parent 3cc19b9 commit 830d6ef
Showing 1 changed file with 5 additions and 3 deletions.
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

0 comments on commit 830d6ef

Please sign in to comment.