Class AllowedMentionsRequest
Allowed mentions when sending a message.
public class AllowedMentionsRequest
- Inheritance
-
objectAllowedMentionsRequest
Properties
Parse
Types of mentions to parse from content
[JsonProperty("parse")]
public HashSet<AllowedMentionParseType>? Parse { get; set; }
Property Value
RepliedUser
Whether to mention the author of the replied message
[JsonProperty("replied_user")]
public bool? RepliedUser { get; set; }
Property Value
- bool?
Roles
Array of role IDs to mention (max 100)
[JsonProperty("roles")]
public HashSet<ulong>? Roles { get; set; }
Property Value
Users
Array of user IDs to mention (max 100)
[JsonProperty("users")]
public HashSet<ulong>? Users { get; set; }