From 50c92420589c91d0a3040019c3d2766c33011776 Mon Sep 17 00:00:00 2001 From: Oristania Wahyu Nabasya Date: Tue, 23 Apr 2024 15:57:00 +0700 Subject: [PATCH] feat: add QuotedMessage as attribute in Message struct --- message.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/message.go b/message.go index 9e6cf83b..8733f0b5 100644 --- a/message.go +++ b/message.go @@ -42,9 +42,10 @@ type Message struct { ShowInChannel bool `json:"show_in_channel,omitempty"` // show reply message also in channel ThreadParticipants []*User `json:"thread_participants,omitempty"` - ReplyCount int `json:"reply_count,omitempty"` - QuotedMessageID string `json:"quoted_message_id,omitempty"` - MentionedUsers []*User `json:"mentioned_users"` + ReplyCount int `json:"reply_count,omitempty"` + QuotedMessage *Message `json:"quoted_message,omitempty"` + QuotedMessageID string `json:"quoted_message_id,omitempty"` + MentionedUsers []*User `json:"mentioned_users"` Command string `json:"command,omitempty"`