Adds necessary payload to register click action.
PiperOrigin-RevId: 296428121
Change-Id: Iab7e5f1d3a3048998958aaafa8281736bf0f5d3b
diff --git a/src/main/proto/search/now/ui/action/feed_action.proto b/src/main/proto/search/now/ui/action/feed_action.proto
index 4fe4d3b..08d686a 100644
--- a/src/main/proto/search/now/ui/action/feed_action.proto
+++ b/src/main/proto/search/now/ui/action/feed_action.proto
@@ -114,6 +114,11 @@
// opening the url. Once this finishes, the client will attach to the url its
// latest frequency token as the value of this query param.
optional string consistency_token_query_param_name = 2;
+
+ // The content ID that was interacted with to cause a URL open.
+ optional search.now.wire.feed.ContentId content_id = 3;
+ // Roundtripped server data on a per-action level.
+ optional search.now.wire.feed.ActionPayload payload = 4;
}
// Data needed by Stream to open a context menu.
diff --git a/src/main/proto/search/now/wire/feed/capability.proto b/src/main/proto/search/now/wire/feed/capability.proto
index 0dfc0da..0b9665b 100644
--- a/src/main/proto/search/now/wire/feed/capability.proto
+++ b/src/main/proto/search/now/wire/feed/capability.proto
@@ -22,7 +22,7 @@
option java_outer_classname = "CapabilityProto";
// Feature capability of either the client or the server.
-// Next ID: 13.
+// Next ID: 14.
enum Capability {
UNKNOWN_CAPABILITY = 0;
BASE_UI = 1;
@@ -35,6 +35,7 @@
CAROUSELS = 9;
ELEMENTS = 10;
SEND_FEEDBACK = 12;
+ CLICK_ACTION = 13;
reserved 3, 11;
}