Added chat id to emoji reaction protobuf
This commit is contained in:
parent
9a775619cd
commit
373ddc5449
|
@ -62,8 +62,9 @@ func (EmojiReaction_Type) EnumDescriptor() ([]byte, []int) {
|
|||
|
||||
type EmojiReaction struct {
|
||||
Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
|
||||
MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
|
||||
Type EmojiReaction_Type `protobuf:"varint,3,opt,name=type,proto3,enum=protobuf.EmojiReaction_Type" json:"type,omitempty"`
|
||||
ChatId string `protobuf:"bytes,2,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
|
||||
MessageId string `protobuf:"bytes,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
|
||||
Type EmojiReaction_Type `protobuf:"varint,4,opt,name=type,proto3,enum=protobuf.EmojiReaction_Type" json:"type,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
|
@ -101,6 +102,13 @@ func (m *EmojiReaction) GetClock() uint64 {
|
|||
return 0
|
||||
}
|
||||
|
||||
func (m *EmojiReaction) GetChatId() string {
|
||||
if m != nil {
|
||||
return m.ChatId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *EmojiReaction) GetMessageId() string {
|
||||
if m != nil {
|
||||
return m.MessageId
|
||||
|
@ -171,23 +179,24 @@ func init() {
|
|||
func init() { proto.RegisterFile("emoji_reaction.proto", fileDescriptor_0a088c907bbc7ed6) }
|
||||
|
||||
var fileDescriptor_0a088c907bbc7ed6 = []byte{
|
||||
// 274 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x49, 0xcd, 0xcd, 0xcf,
|
||||
0xca, 0x8c, 0x2f, 0x4a, 0x4d, 0x4c, 0x2e, 0xc9, 0xcc, 0xcf, 0xd3, 0x2b, 0x28, 0xca, 0x2f, 0xc9,
|
||||
0x17, 0xe2, 0x00, 0x53, 0x49, 0xa5, 0x69, 0x4a, 0x2f, 0x18, 0xb9, 0x78, 0x5d, 0x41, 0x4a, 0x82,
|
||||
0xa0, 0x2a, 0x84, 0x44, 0xb8, 0x58, 0x93, 0x73, 0xf2, 0x93, 0xb3, 0x25, 0x18, 0x15, 0x18, 0x35,
|
||||
0x58, 0x82, 0x20, 0x1c, 0x21, 0x59, 0x2e, 0xae, 0xdc, 0xd4, 0xe2, 0xe2, 0xc4, 0xf4, 0xd4, 0xf8,
|
||||
0xcc, 0x14, 0x09, 0x26, 0x05, 0x46, 0x0d, 0xce, 0x20, 0x4e, 0xa8, 0x88, 0x67, 0x8a, 0x90, 0x01,
|
||||
0x17, 0x4b, 0x49, 0x65, 0x41, 0xaa, 0x04, 0xb3, 0x02, 0xa3, 0x06, 0x9f, 0x91, 0x8c, 0x1e, 0xcc,
|
||||
0x7c, 0x3d, 0x14, 0xb3, 0xf5, 0x42, 0x2a, 0x0b, 0x52, 0x83, 0xc0, 0x2a, 0x95, 0x0a, 0xb8, 0x58,
|
||||
0x40, 0x3c, 0x21, 0x79, 0x2e, 0xe9, 0x50, 0x3f, 0x6f, 0x3f, 0xff, 0x70, 0xbf, 0x78, 0x57, 0x5f,
|
||||
0x7f, 0x2f, 0xcf, 0xf8, 0x20, 0x57, 0x47, 0xe7, 0x10, 0x4f, 0x7f, 0xbf, 0xf8, 0x90, 0xc8, 0x00,
|
||||
0x57, 0x01, 0x06, 0x21, 0x0e, 0x2e, 0x16, 0x1f, 0xff, 0x30, 0x57, 0x01, 0x46, 0x21, 0x5e, 0x2e,
|
||||
0xce, 0x10, 0x8f, 0x50, 0x5f, 0xa7, 0xe0, 0xf8, 0xd0, 0x00, 0x01, 0x26, 0x21, 0x7e, 0x2e, 0x6e,
|
||||
0x28, 0xd7, 0xc5, 0x3f, 0xdc, 0x4f, 0x80, 0x59, 0x88, 0x93, 0x8b, 0xd5, 0xc7, 0x31, 0xd4, 0xdd,
|
||||
0x43, 0x80, 0x45, 0x88, 0x9d, 0x8b, 0x39, 0xd8, 0xd1, 0x45, 0x80, 0x15, 0x24, 0xe6, 0xe8, 0xe7,
|
||||
0x1e, 0x14, 0x29, 0xc0, 0xa6, 0x14, 0xcd, 0x25, 0x8e, 0xe2, 0x9a, 0xa0, 0xd4, 0x92, 0x22, 0xbc,
|
||||
0x7e, 0xd6, 0xe2, 0x12, 0x44, 0x0d, 0x3d, 0x84, 0xd7, 0xf9, 0x53, 0x91, 0x4d, 0xf2, 0x4c, 0x49,
|
||||
0x62, 0x03, 0xfb, 0xd8, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x30, 0x51, 0x1c, 0x38, 0x70, 0x01,
|
||||
// 290 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4f, 0xbb, 0x30,
|
||||
0x1c, 0xc5, 0x7f, 0x8c, 0xc2, 0xc6, 0xf7, 0x97, 0xb9, 0xda, 0x2c, 0x19, 0x89, 0x1a, 0x09, 0x27,
|
||||
0xe2, 0x81, 0x18, 0xfd, 0x0b, 0xd0, 0x91, 0x0d, 0xdd, 0xca, 0xd2, 0x81, 0xcb, 0xe2, 0xa1, 0x61,
|
||||
0x50, 0x15, 0x75, 0x42, 0x18, 0x1e, 0x76, 0xf4, 0x3f, 0x37, 0x20, 0x46, 0xb9, 0x78, 0x6a, 0x3e,
|
||||
0xef, 0xbd, 0xf4, 0xb5, 0x0f, 0x86, 0x62, 0x9b, 0x3d, 0xa7, 0xbc, 0x10, 0x51, 0x5c, 0xa6, 0xd9,
|
||||
0x9b, 0x9d, 0x17, 0x59, 0x99, 0x91, 0x5e, 0x7d, 0x6c, 0xde, 0x1f, 0xcc, 0x8f, 0x0e, 0xf4, 0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 0x25, 0x1b,
|
||||
0xb5, 0xfe, 0xf1, 0xe5, 0x67, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa5, 0xef, 0x9d, 0x0e, 0x89, 0x01,
|
||||
0x00, 0x00,
|
||||
}
|
||||
|
|
|
@ -4,8 +4,9 @@ package protobuf;
|
|||
|
||||
message EmojiReaction {
|
||||
uint64 clock = 1;
|
||||
string message_id = 2;
|
||||
Type type = 3;
|
||||
string chat_id = 2;
|
||||
string message_id = 3;
|
||||
Type type = 4;
|
||||
|
||||
enum Type {
|
||||
UNKNOWN_EMOJI_REACTION_TYPE = 0;
|
||||
|
|
Loading…
Reference in New Issue