Added emoji reaction content type

This commit is contained in:
Samuel Hawksby-Robinson 2020-07-08 13:24:22 +01:00 committed by Andrea Maria Piana
parent 2f5f00f1a8
commit 9e09a265e2
No known key found for this signature in database
GPG Key ID: AA6CCA6DE0E06424
2 changed files with 67 additions and 66 deletions

View File

@ -85,17 +85,17 @@ func (AudioMessage_AudioType) EnumDescriptor() ([]byte, []int) {
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
EmojiReaction_UNKNOWN_EMOJI_REACTION_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",
0: "UNKNOWN_EMOJI_REACTION_TYPE",
1: "LOVE",
2: "THUMBS_UP",
3: "THUMBS_DOWN",
@ -105,13 +105,13 @@ var EmojiReaction_Type_name = map[int32]string{
}
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,
"UNKNOWN_EMOJI_REACTION_TYPE": 0,
"LOVE": 1,
"THUMBS_UP": 2,
"THUMBS_DOWN": 3,
"LAUGH": 4,
"SAD": 5,
"ANGRY": 6,
}
func (x EmojiReaction_Type) String() string {
@ -397,7 +397,7 @@ func (m *EmojiReaction) GetType() EmojiReaction_Type {
if m != nil {
return m.Type
}
return EmojiReaction_UNKNOWN_IMAGE_TYPE
return EmojiReaction_UNKNOWN_EMOJI_REACTION_TYPE
}
type EmojiReactionRetraction struct {
@ -627,53 +627,54 @@ func init() {
func init() { proto.RegisterFile("chat_message.proto", fileDescriptor_263952f55fd35689) }
var fileDescriptor_263952f55fd35689 = []byte{
// 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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 0xf5, 0xf1, 0x04, 0x6e, 0xc2, 0xbb, 0x90, 0xda, 0xee, 0xa9, 0xdb, 0x39, 0x42, 0x36, 0xfe,
0x94, 0x40, 0xeb, 0x1c, 0x59, 0x97, 0x80, 0xe5, 0x7b, 0xd4, 0xf6, 0x68, 0x87, 0x00, 0xb5, 0x7f,
0xa2, 0x51, 0xb0, 0x36, 0x1d, 0x0f, 0x49, 0x58, 0x03, 0x25, 0xa4, 0x8e, 0xf5, 0xc1, 0x26, 0xa8,
0x87, 0x01, 0x86, 0x21, 0x35, 0xe9, 0x26, 0xac, 0x5c, 0x20, 0x8c, 0x84, 0x64, 0x7c, 0x0d, 0x9f,
0x53, 0x62, 0x7a, 0x61, 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,
}

View File

@ -35,7 +35,7 @@ message EmojiReaction {
Type type = 2;
enum Type {
UNKNOWN_IMAGE_TYPE = 0;
UNKNOWN_EMOJI_REACTION_TYPE = 0;
LOVE = 1;
THUMBS_UP = 2;
THUMBS_DOWN = 3;