add retracted
This commit is contained in:
parent
fcb901daf2
commit
eb087a00a4
|
@ -59,6 +59,7 @@ func (e EmojiReaction) MarshalJSON() ([]byte, error) {
|
|||
From string `json:"from"`
|
||||
MessageID string `json:"messageId,omitempty"`
|
||||
MessageType protobuf.MessageType `json:"messageType,omitempty"`
|
||||
Retracted bool `json:"retracted,omitempty"`
|
||||
EmojiID protobuf.EmojiReaction_Type `json:"emojiId,omitempty"`
|
||||
}{
|
||||
|
||||
|
@ -69,6 +70,7 @@ func (e EmojiReaction) MarshalJSON() ([]byte, error) {
|
|||
From: e.From,
|
||||
MessageID: e.MessageId,
|
||||
MessageType: e.MessageType,
|
||||
Retracted: e.Retracted,
|
||||
EmojiID: e.Type,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue