diff --git a/protocol/protobuf/chat_message.pb.go b/protocol/protobuf/chat_message.pb.go index 4fd386673..12eb9ebad 100644 --- a/protocol/protobuf/chat_message.pb.go +++ b/protocol/protobuf/chat_message.pb.go @@ -82,6 +82,46 @@ func (AudioMessage_AudioType) EnumDescriptor() ([]byte, []int) { return fileDescriptor_263952f55fd35689, []int{2, 0} } +type EmojiReaction_Type int32 + +const ( + EmojiReaction_UNKNOWN_IMAGE_TYPE EmojiReaction_Type = 0 + EmojiReaction_LOVE EmojiReaction_Type = 1 + EmojiReaction_THUMBS_UP EmojiReaction_Type = 2 + EmojiReaction_THUMBS_DOWN EmojiReaction_Type = 3 + EmojiReaction_LAUGH EmojiReaction_Type = 4 + EmojiReaction_SAD EmojiReaction_Type = 5 + EmojiReaction_ANGRY EmojiReaction_Type = 6 +) + +var EmojiReaction_Type_name = map[int32]string{ + 0: "UNKNOWN_IMAGE_TYPE", + 1: "LOVE", + 2: "THUMBS_UP", + 3: "THUMBS_DOWN", + 4: "LAUGH", + 5: "SAD", + 6: "ANGRY", +} + +var EmojiReaction_Type_value = map[string]int32{ + "UNKNOWN_IMAGE_TYPE": 0, + "LOVE": 1, + "THUMBS_UP": 2, + "THUMBS_DOWN": 3, + "LAUGH": 4, + "SAD": 5, + "ANGRY": 6, +} + +func (x EmojiReaction_Type) String() string { + return proto.EnumName(EmojiReaction_Type_name, int32(x)) +} + +func (EmojiReaction_Type) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_263952f55fd35689, []int{3, 0} +} + type ChatMessage_MessageType int32 const ( @@ -114,7 +154,7 @@ func (x ChatMessage_MessageType) String() string { } func (ChatMessage_MessageType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_263952f55fd35689, []int{3, 0} + return fileDescriptor_263952f55fd35689, []int{5, 0} } type ChatMessage_ContentType int32 @@ -161,7 +201,7 @@ func (x ChatMessage_ContentType) String() string { } func (ChatMessage_ContentType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_263952f55fd35689, []int{3, 1} + return fileDescriptor_263952f55fd35689, []int{5, 1} } type StickerMessage struct { @@ -313,6 +353,92 @@ func (m *AudioMessage) GetDurationMs() uint64 { return 0 } +type EmojiReaction struct { + MessageID string `protobuf:"bytes,1,opt,name=messageID,proto3" json:"messageID,omitempty"` + Type EmojiReaction_Type `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.EmojiReaction_Type" json:"type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EmojiReaction) Reset() { *m = EmojiReaction{} } +func (m *EmojiReaction) String() string { return proto.CompactTextString(m) } +func (*EmojiReaction) ProtoMessage() {} +func (*EmojiReaction) Descriptor() ([]byte, []int) { + return fileDescriptor_263952f55fd35689, []int{3} +} + +func (m *EmojiReaction) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EmojiReaction.Unmarshal(m, b) +} +func (m *EmojiReaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EmojiReaction.Marshal(b, m, deterministic) +} +func (m *EmojiReaction) XXX_Merge(src proto.Message) { + xxx_messageInfo_EmojiReaction.Merge(m, src) +} +func (m *EmojiReaction) XXX_Size() int { + return xxx_messageInfo_EmojiReaction.Size(m) +} +func (m *EmojiReaction) XXX_DiscardUnknown() { + xxx_messageInfo_EmojiReaction.DiscardUnknown(m) +} + +var xxx_messageInfo_EmojiReaction proto.InternalMessageInfo + +func (m *EmojiReaction) GetMessageID() string { + if m != nil { + return m.MessageID + } + return "" +} + +func (m *EmojiReaction) GetType() EmojiReaction_Type { + if m != nil { + return m.Type + } + return EmojiReaction_UNKNOWN_IMAGE_TYPE +} + +type EmojiReactionRetraction struct { + EmojiReactionID string `protobuf:"bytes,1,opt,name=emojiReactionID,proto3" json:"emojiReactionID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EmojiReactionRetraction) Reset() { *m = EmojiReactionRetraction{} } +func (m *EmojiReactionRetraction) String() string { return proto.CompactTextString(m) } +func (*EmojiReactionRetraction) ProtoMessage() {} +func (*EmojiReactionRetraction) Descriptor() ([]byte, []int) { + return fileDescriptor_263952f55fd35689, []int{4} +} + +func (m *EmojiReactionRetraction) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EmojiReactionRetraction.Unmarshal(m, b) +} +func (m *EmojiReactionRetraction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EmojiReactionRetraction.Marshal(b, m, deterministic) +} +func (m *EmojiReactionRetraction) XXX_Merge(src proto.Message) { + xxx_messageInfo_EmojiReactionRetraction.Merge(m, src) +} +func (m *EmojiReactionRetraction) XXX_Size() int { + return xxx_messageInfo_EmojiReactionRetraction.Size(m) +} +func (m *EmojiReactionRetraction) XXX_DiscardUnknown() { + xxx_messageInfo_EmojiReactionRetraction.DiscardUnknown(m) +} + +var xxx_messageInfo_EmojiReactionRetraction proto.InternalMessageInfo + +func (m *EmojiReactionRetraction) GetEmojiReactionID() string { + if m != nil { + return m.EmojiReactionID + } + return "" +} + type ChatMessage struct { // Lamport timestamp of the chat message Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` @@ -348,7 +474,7 @@ func (m *ChatMessage) Reset() { *m = ChatMessage{} } func (m *ChatMessage) String() string { return proto.CompactTextString(m) } func (*ChatMessage) ProtoMessage() {} func (*ChatMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_263952f55fd35689, []int{3} + return fileDescriptor_263952f55fd35689, []int{5} } func (m *ChatMessage) XXX_Unmarshal(b []byte) error { @@ -487,57 +613,67 @@ func (*ChatMessage) XXX_OneofWrappers() []interface{} { func init() { proto.RegisterEnum("protobuf.ImageMessage_ImageType", ImageMessage_ImageType_name, ImageMessage_ImageType_value) proto.RegisterEnum("protobuf.AudioMessage_AudioType", AudioMessage_AudioType_name, AudioMessage_AudioType_value) + proto.RegisterEnum("protobuf.EmojiReaction_Type", EmojiReaction_Type_name, EmojiReaction_Type_value) proto.RegisterEnum("protobuf.ChatMessage_MessageType", ChatMessage_MessageType_name, ChatMessage_MessageType_value) proto.RegisterEnum("protobuf.ChatMessage_ContentType", ChatMessage_ContentType_name, ChatMessage_ContentType_value) proto.RegisterType((*StickerMessage)(nil), "protobuf.StickerMessage") proto.RegisterType((*ImageMessage)(nil), "protobuf.ImageMessage") proto.RegisterType((*AudioMessage)(nil), "protobuf.AudioMessage") + proto.RegisterType((*EmojiReaction)(nil), "protobuf.EmojiReaction") + proto.RegisterType((*EmojiReactionRetraction)(nil), "protobuf.EmojiReactionRetraction") proto.RegisterType((*ChatMessage)(nil), "protobuf.ChatMessage") } func init() { proto.RegisterFile("chat_message.proto", fileDescriptor_263952f55fd35689) } var fileDescriptor_263952f55fd35689 = []byte{ - // 652 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x53, 0x4d, 0x6f, 0xd3, 0x40, - 0x10, 0xad, 0x13, 0x27, 0x8e, 0xc7, 0xa1, 0x5a, 0x96, 0xaa, 0x35, 0x52, 0x25, 0x82, 0xc5, 0x21, - 0xa7, 0x1c, 0x4a, 0x91, 0xb8, 0xba, 0xae, 0x49, 0xdd, 0xd6, 0x1f, 0x5a, 0x6f, 0x28, 0x3d, 0x59, - 0xae, 0xb3, 0x34, 0x51, 0xeb, 0x0f, 0xc5, 0xae, 0x44, 0x2f, 0xfc, 0x04, 0xfe, 0x07, 0x77, 0xc4, - 0xef, 0x43, 0xbb, 0xae, 0x13, 0xa7, 0x42, 0x5c, 0x38, 0x79, 0x66, 0xf6, 0xcd, 0xf3, 0x9b, 0xd9, - 0xb7, 0x80, 0x93, 0x45, 0x5c, 0x45, 0x29, 0x2b, 0xcb, 0xf8, 0x96, 0x4d, 0x8a, 0x55, 0x5e, 0xe5, - 0x78, 0x20, 0x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 0xff, 0xff, 0x5b, 0xc2, 0xb0, 0xfc, 0xd6, 0x04, 0x00, 0x00, + // 764 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xcf, 0x6e, 0xbb, 0x46, + 0x10, 0x0e, 0x36, 0x36, 0x66, 0x70, 0xf2, 0xdb, 0x6e, 0x7f, 0x4a, 0xa8, 0x14, 0xa9, 0x2e, 0xea, + 0xc1, 0x27, 0xab, 0x4a, 0x53, 0xa9, 0x57, 0x8c, 0xa9, 0x4d, 0x62, 0xfe, 0x68, 0x59, 0x27, 0xcd, + 0x09, 0x11, 0xbc, 0x8d, 0xdd, 0x04, 0x63, 0x19, 0x22, 0x35, 0x97, 0x3e, 0x42, 0xdf, 0xa3, 0xf7, + 0xaa, 0xcf, 0xd0, 0xc7, 0xaa, 0x76, 0x31, 0x06, 0x47, 0x55, 0x2e, 0x3d, 0xb1, 0x33, 0xfb, 0xcd, + 0xf0, 0xcd, 0x7c, 0x33, 0x0b, 0x38, 0x59, 0xc5, 0x45, 0x94, 0xb2, 0x3c, 0x8f, 0x9f, 0xd8, 0x68, + 0xbb, 0xcb, 0x8a, 0x0c, 0xf7, 0xc4, 0xe7, 0xf1, 0xf5, 0x17, 0xe3, 0x47, 0x38, 0x0b, 0x8b, 0x75, + 0xf2, 0xcc, 0x76, 0x6e, 0x89, 0xc0, 0x18, 0xe4, 0x55, 0x9c, 0xaf, 0x74, 0x69, 0x20, 0x0d, 0x55, + 0x22, 0xce, 0xdc, 0xb7, 0x8d, 0x93, 0x67, 0xbd, 0x35, 0x90, 0x86, 0x1d, 0x22, 0xce, 0xc6, 0x9f, + 0x12, 0xf4, 0x9d, 0x34, 0x7e, 0x62, 0x55, 0xa0, 0x0e, 0xca, 0x36, 0x7e, 0x7b, 0xc9, 0xe2, 0xa5, + 0x88, 0xed, 0x93, 0xca, 0xc4, 0xd7, 0x20, 0x17, 0x6f,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0xea, 0xf8, 0x3c, 0xa3, 0xeb, 0x9a, 0x1e, 0xdf, 0x8a, 0x21, + 0x7c, 0xfb, 0x8e, 0x58, 0xf5, 0xb7, 0x63, 0x82, 0x5d, 0x9e, 0x4d, 0x6c, 0x23, 0x52, 0xc4, 0x2a, + 0xf1, 0xc7, 0x02, 0xf5, 0xc6, 0xea, 0xe1, 0xf5, 0x7a, 0xec, 0x8a, 0x0e, 0x7f, 0xff, 0x6f, 0x00, + 0x00, 0x00, 0xff, 0xff, 0x61, 0x7a, 0xec, 0x6b, 0xe6, 0x05, 0x00, 0x00, } diff --git a/protocol/protobuf/chat_message.proto b/protocol/protobuf/chat_message.proto index cfc9eee8a..f5d9e02e0 100644 --- a/protocol/protobuf/chat_message.proto +++ b/protocol/protobuf/chat_message.proto @@ -30,6 +30,25 @@ message AudioMessage { } } +message EmojiReaction { + string messageID = 1; + Type type = 2; + + enum Type { + UNKNOWN_IMAGE_TYPE = 0; + LOVE = 1; + THUMBS_UP = 2; + THUMBS_DOWN = 3; + LAUGH = 4; + SAD = 5; + ANGRY = 6; + } +} + +message EmojiReactionRetraction { + string emojiReactionID = 1; +} + message ChatMessage { // Lamport timestamp of the chat message uint64 clock = 1;