From 58222e0152edc5e9a70c214374f539a5f10e86fa Mon Sep 17 00:00:00 2001 From: ikprk Date: Sun, 7 Jul 2024 10:24:24 +0200 Subject: [PATCH] New comments metadata --- metadata-protobuf/proto/Metaprotocol.proto | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/metadata-protobuf/proto/Metaprotocol.proto b/metadata-protobuf/proto/Metaprotocol.proto index 04a29c1470..09233b90f6 100644 --- a/metadata-protobuf/proto/Metaprotocol.proto +++ b/metadata-protobuf/proto/Metaprotocol.proto @@ -37,6 +37,30 @@ message CreateComment { required string body = 3; } +// create comment for creator token +message CreateTokenComment { + // ID of the token + required uint64 token_id = 1; + + // ID of comment member wants to reply (empty if new comment is parent comment) + optional string parent_comment_id = 2; + + // Comment text + required string body = 3; +} + +// create comment for video category +message CreateCategoryComment { + // ID of the category + required uint64 category_id = 1; + + // ID of comment member wants to reply (empty if new comment is parent comment) + optional string parent_comment_id = 2; + + // Comment text + required string body = 3; +} + // edit comment by author message EditComment { // ID of the comment whose text is being edited