From e1f154bfe70ea03ecd9e35a4656e8ea569d2389a Mon Sep 17 00:00:00 2001 From: ozraru <34647405+ozraru@users.noreply.github.com> Date: Sat, 7 May 2022 05:30:13 +0900 Subject: [PATCH] Add replied_user to MessageAllowedMentions (#1175) --- message.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/message.go b/message.go index 22d5f74..ce7c55f 100644 --- a/message.go +++ b/message.go @@ -321,6 +321,9 @@ type MessageAllowedMentions struct { // A list of user IDs to allow. This cannot be used when specifying // AllowedMentionTypeUsers in the Parse slice. Users []string `json:"users,omitempty"` + + // For replies, whether to mention the author of the message being replied to + RepliedUser bool `json:"replied_user"` } // A MessageAttachment stores data for message attachments.