memos/proto/api/v2/reaction_service.proto
2024-02-08 11:54:59 +08:00

24 lines
335 B
Protocol Buffer

syntax = "proto3";
package memos.api.v2;
option go_package = "gen/api/v2";
message Reaction {
int32 id = 1;
string creator = 2;
string content_id = 3;
enum Type {
TYPE_UNSPECIFIED = 0;
EYES = 1;
HEART = 2;
LAUGH = 3;
ROCKET = 4;
THUMBS_DOWN = 5;
THUMBS_UP = 6;
}
Type reaction_type = 4;
}