syntax = "proto3"; option go_package = "github.com/protocol/protobuf"; package protobuf; import "enums.proto"; message PinMessage { uint64 clock = 1; string message_id = 2; string chat_id = 3; bool pinned = 4; // The type of message (public/one-to-one/private-group-chat) MessageType message_type = 5; }