DiscordAllowedMentions class

Constructors

DiscordAllowedMentions({required List<String> parse, required List<String> roles, required List<String> users, required bool repliedUser})
DiscordAllowedMentions.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
parse List<String>
an array of allowed mention types to parse from the content.
final
parseAsEnum List<DiscordMentionType>
no setter
repliedUser bool
for replies, whether to mention the author of the message being replied to (default false)
final
roles List<String>
array of role_ids to mention (Max size of 100)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
users List<String>
array of user_ids to mention (Max size of 100)
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

parseEntry → const String
repliedUserEntry → const String
rolesEntry → const String
usersEntry → const String