Skip to content

Commit

Permalink
Add replied_user to MessageAllowedMentions (bwmarrin#1175)
Browse files Browse the repository at this point in the history
  • Loading branch information
ozraru authored May 6, 2022
1 parent 466321b commit e1f154b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions message.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e1f154b

Please sign in to comment.