Added emoji retraction type

This commit is contained in:
Samuel Hawksby-Robinson 2020-07-08 15:39:37 +01:00 committed by Andrea Maria Piana
parent 9e09a265e2
commit 39bd6d479a
No known key found for this signature in database
GPG Key ID: AA6CCA6DE0E06424
2 changed files with 59 additions and 58 deletions

View File

@ -354,7 +354,7 @@ func (m *AudioMessage) GetDurationMs() uint64 {
}
type EmojiReaction struct {
MessageID string `protobuf:"bytes,1,opt,name=messageID,proto3" json:"messageID,omitempty"`
MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,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:"-"`
@ -386,9 +386,9 @@ func (m *EmojiReaction) XXX_DiscardUnknown() {
var xxx_messageInfo_EmojiReaction proto.InternalMessageInfo
func (m *EmojiReaction) GetMessageID() string {
func (m *EmojiReaction) GetMessageId() string {
if m != nil {
return m.MessageID
return m.MessageId
}
return ""
}
@ -401,7 +401,7 @@ func (m *EmojiReaction) GetType() EmojiReaction_Type {
}
type EmojiReactionRetraction struct {
EmojiReactionID string `protobuf:"bytes,1,opt,name=emojiReactionID,proto3" json:"emojiReactionID,omitempty"`
EmojiReactionId string `protobuf:"bytes,1,opt,name=emoji_reaction_id,json=emojiReactionId,proto3" json:"emoji_reaction_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -432,9 +432,9 @@ func (m *EmojiReactionRetraction) XXX_DiscardUnknown() {
var xxx_messageInfo_EmojiReactionRetraction proto.InternalMessageInfo
func (m *EmojiReactionRetraction) GetEmojiReactionID() string {
func (m *EmojiReactionRetraction) GetEmojiReactionId() string {
if m != nil {
return m.EmojiReactionID
return m.EmojiReactionId
}
return ""
}
@ -627,54 +627,55 @@ func init() {
func init() { proto.RegisterFile("chat_message.proto", fileDescriptor_263952f55fd35689) }
var fileDescriptor_263952f55fd35689 = []byte{
// 777 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xcd, 0x8e, 0xa3, 0x46,
0x10, 0x1e, 0x6c, 0x6c, 0x4c, 0xe1, 0x99, 0xed, 0x74, 0x56, 0x3b, 0x44, 0x19, 0x29, 0x0e, 0xca,
0xc1, 0x27, 0x2b, 0xda, 0x6c, 0xa4, 0x5c, 0x31, 0x26, 0x36, 0xbb, 0xe6, 0x47, 0x4d, 0x7b, 0x27,
0x73, 0x42, 0x2c, 0xee, 0x8c, 0x9d, 0x19, 0x0c, 0x32, 0x8c, 0x94, 0xb9, 0xe4, 0x11, 0xf2, 0x1e,
0xb9, 0x47, 0x79, 0x8f, 0xbc, 0x51, 0xd4, 0x0d, 0x18, 0x3c, 0x8a, 0x72, 0xc9, 0x89, 0xae, 0xea,
0xaf, 0x8a, 0xaf, 0xfa, 0xeb, 0xaf, 0x01, 0x27, 0xbb, 0xb8, 0x8c, 0x52, 0x56, 0x14, 0xf1, 0x3d,
0x9b, 0xe5, 0xc7, 0xac, 0xcc, 0xf0, 0x48, 0x7c, 0x3e, 0x3d, 0xfd, 0x6c, 0xfc, 0x00, 0x57, 0x61,
0xb9, 0x4f, 0x1e, 0xd8, 0xd1, 0xad, 0x10, 0x18, 0x83, 0xbc, 0x8b, 0x8b, 0x9d, 0x2e, 0x4d, 0xa4,
0xa9, 0x4a, 0xc4, 0x9a, 0xe7, 0xf2, 0x38, 0x79, 0xd0, 0x7b, 0x13, 0x69, 0x3a, 0x20, 0x62, 0x6d,
0xfc, 0x21, 0xc1, 0xd8, 0x49, 0xe3, 0x7b, 0xd6, 0x14, 0xea, 0xa0, 0xe4, 0xf1, 0xf3, 0x63, 0x16,
0x6f, 0x45, 0xed, 0x98, 0x34, 0x21, 0x7e, 0x07, 0x72, 0xf9, 0x9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0x6d, 0x28, 0xcb, 0x77, 0x5d, 0xd3, 0xe3, 0xae, 0x98, 0xc2, 0x37, 0x2f,
0x88, 0x35, 0x7f, 0x3b, 0x27, 0x38, 0xe4, 0xdd, 0xc4, 0xbb, 0x87, 0x14, 0x61, 0x25, 0xfe, 0x6a,
0xa0, 0xd1, 0x5c, 0x3d, 0x3d, 0x63, 0x9f, 0x86, 0xe2, 0x84, 0xbf, 0xfb, 0x27, 0x00, 0x00, 0xff,
0xff, 0xe4, 0x40, 0x2a, 0x4e, 0xef, 0x05, 0x00, 0x00,
// 788 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xcd, 0x6e, 0xa4, 0x46,
0x10, 0x36, 0x33, 0xcc, 0x0f, 0xc5, 0xd8, 0xdb, 0xdb, 0x59, 0xad, 0x89, 0xe2, 0x28, 0x13, 0x94,
0xc3, 0x28, 0x87, 0x51, 0xb4, 0xd9, 0x48, 0xb9, 0x62, 0xdc, 0x19, 0xb3, 0x6b, 0x7e, 0xd4, 0xf4,
0xac, 0xe3, 0x13, 0x62, 0xa1, 0xb3, 0x26, 0x5e, 0x06, 0x34, 0x60, 0x29, 0xbe, 0xe4, 0x11, 0xf2,
0x1e, 0xb9, 0x47, 0x79, 0x90, 0x3c, 0x51, 0xd4, 0x0d, 0x18, 0xc6, 0x8a, 0x72, 0xd9, 0x13, 0x5d,
0x55, 0x5f, 0x15, 0x5f, 0x75, 0xd5, 0xd7, 0x80, 0x93, 0xdb, 0xb8, 0x8e, 0x72, 0x5e, 0x55, 0xf1,
0x07, 0xbe, 0x2e, 0xf7, 0x45, 0x5d, 0xe0, 0xb9, 0xfc, 0xbc, 0xbf, 0xff, 0xc5, 0xfc, 0x11, 0x4e,
0xc2, 0x3a, 0x4b, 0xee, 0xf8, 0xde, 0x6d, 0x10, 0x18, 0x83, 0x7a, 0x1b, 0x57, 0xb7, 0x86, 0xb2,
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, 0x5f, 0x0a, 0xe8, 0x83, 0x2b, 0x1b,
0x12, 0xb0, 0x7d, 0x8f, 0x11, 0x8f, 0x0d, 0x08, 0x30, 0xf2, 0x33, 0x8b, 0x82, 0x2b, 0xcb, 0xf1,
0x90, 0x82, 0x75, 0x98, 0x85, 0xcc, 0xb1, 0xdf, 0x12, 0x8a, 0x46, 0x18, 0x60, 0x1a, 0x32, 0x8b,
0x6d, 0xc3, 0x46, 0x07, 0x52, 0x4a, 0x48, 0xc5, 0xa7, 0xf0, 0x19, 0xa3, 0x96, 0x17, 0xb6, 0x92,
0xb2, 0x7d, 0xd7, 0xb5, 0x3c, 0xa1, 0x8b, 0x15, 0x7c, 0xf3, 0x84, 0x58, 0xf7, 0xb7, 0x43, 0x82,
0x53, 0x51, 0x4d, 0x3e, 0x7d, 0x68, 0x26, 0xc5, 0x24, 0x1e, 0x0e, 0x34, 0x3f, 0xd7, 0x1e, 0x5f,
0xb2, 0xf7, 0x53, 0x79, 0xc3, 0xdf, 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0xe2, 0xe4, 0x1c, 0xf7,
0xf2, 0x05, 0x00, 0x00,
}

View File

@ -31,7 +31,7 @@ message AudioMessage {
}
message EmojiReaction {
string messageID = 1;
string message_id = 1;
Type type = 2;
enum Type {
@ -46,7 +46,7 @@ message EmojiReaction {
}
message EmojiReactionRetraction {
string emojiReactionID = 1;
string emoji_reaction_id = 1;
}
message ChatMessage {