diff --git a/pkg/extension/action.go b/pkg/extension/action.go index 37003f10b3db33454ab5984320150ab43bf327bd..7c62604910991cf0b5bfa40354e5f1b1f189a8a5 100644 --- a/pkg/extension/action.go +++ b/pkg/extension/action.go @@ -7,9 +7,10 @@ import ( ) type ( - ActionKind = pb.Action_Kind - ResponseState = pb.ActionResponse_State - ActionTarget = pb.Target + ActionKind = pb.Action_Kind + ActionTarget = pb.Target + ResponseState = pb.ActionResponse_State + ResponseFormat = pb.ActionResponse_Format ActionRequest struct { Extension string @@ -27,7 +28,11 @@ type ( ActionResponse struct { State ResponseState + Target ActionTarget + Format ResponseFormat Msg string + Title string + Image string Error string Next []*Action Metadata map[string]string