From 030c25c6c9264088424692b3dc41a5d9b3bd9f12 Mon Sep 17 00:00:00 2001 From: lovvvve Date: Wed, 17 Apr 2024 14:12:43 +0800 Subject: [PATCH] Update catd/model.go add CardAction.Action.FormValue for Form Container --- card/model.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/card/model.go b/card/model.go index af0efd63..afdcc22a 100644 --- a/card/model.go +++ b/card/model.go @@ -1057,10 +1057,11 @@ type CardAction struct { Type string `json:"type"` Action *struct { - Value map[string]interface{} `json:"value"` - Tag string `json:"tag"` - Option string `json:"option"` - Timezone string `json:"timezone"` + Value map[string]interface{} `json:"value"` + FormValue map[string]interface{} `json:"form_value"` + Tag string `json:"tag"` + Option string `json:"option"` + Timezone string `json:"timezone"` } `json:"action"` }