interface APIAllowedMentions {
    parse?: AllowedMentionsTypes[];
    replied_user?: boolean;
    roles?: string[];
    users?: string[];
}

Properties

An array of allowed mention types to parse from the content

replied_user?: boolean

For replies, whether to mention the author of the message being replied to

false

roles?: string[]

Array of role_ids to mention (Max size of 100)

users?: string[]

Array of user_ids to mention (Max size of 100)