Add replied_user to MessageAllowedMentions (#1175)

This commit is contained in:
ozraru 2022-05-07 05:30:13 +09:00 committed by GitHub
parent 466321bed6
commit e1f154bfe7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.