Table of Contents

Class AllowedMentionsRequest

Namespace
Fluxer.Net.Rest
Assembly
Fluxer.Net.dll

Allowed mentions when sending a message.

public class AllowedMentionsRequest
Inheritance
object
AllowedMentionsRequest

Properties

Parse

Types of mentions to parse from content

[JsonProperty("parse")]
public HashSet<AllowedMentionParseType>? Parse { get; set; }

Property Value

HashSet<AllowedMentionParseType>

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

HashSet<ulong>

Users

Array of user IDs to mention (max 100)

[JsonProperty("users")]
public HashSet<ulong>? Users { get; set; }

Property Value

HashSet<ulong>