From 87eb4045b641a2d3fd96b8ddb32fd1f9f1a0be88 Mon Sep 17 00:00:00 2001 From: Benjamin Wenger <ben@elixxir.ioo> Date: Tue, 30 Aug 2022 17:12:34 -0700 Subject: [PATCH] added better comments to text.proto and reran protoc --- channels/text.proto | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/channels/text.proto b/channels/text.proto index 0abb7e616..97a34c745 100644 --- a/channels/text.proto +++ b/channels/text.proto @@ -10,12 +10,17 @@ syntax = "proto3"; package parse; option go_package = "/channels"; +// CMIXChannelText is the payload for sending normal text messages to channels +// the replyMessageID is nil when it is not a reply message CMIXChannelText { uint32 version = 1; string text = 2; bytes replyMessageID = 3; } +// CMIXChannelReaction is the payload for reactions. The reaction must be a +// single emoji and the reactionMessageID must be non nil and a real message +// in the channel message CMIXChannelReaction { uint32 version = 1; string reaction = 2; -- GitLab