Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions metadata-protobuf/proto/Metaprotocol.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down