public class AllowedMentions extends Object
AllowedMentionsData JSON to a Discord4J class.| Modifier and Type | Class and Description |
|---|---|
static class |
AllowedMentions.Builder |
static class |
AllowedMentions.Type |
| Modifier and Type | Method and Description |
|---|---|
static AllowedMentions.Builder |
builder()
Crates a builder for this
AllowedMentions class |
static AllowedMentions.Builder |
builder(AllowedMentions template)
Copy an existing
AllowedMentions object to a new builder |
discord4j.discordjson.json.AllowedMentionsData |
toData()
Maps this
AllowedMentions object to a AllowedMentionsData JSON |
public static AllowedMentions.Builder builder()
AllowedMentions classpublic static AllowedMentions.Builder builder(AllowedMentions template)
AllowedMentions object to a new buildertemplate - the allowed mentions object to copypublic discord4j.discordjson.json.AllowedMentionsData toData()
AllowedMentions object to a AllowedMentionsData JSON