User class

Constructors

User(Snowflake _id, String _username, String _discriminator, bool _bot, int _publicFlags, ImageFormater? _avatar, ImageFormater? _avatarDecoration, String _lang)
User.from(dynamic payload)
factory

Properties

avatar ImageFormater?
no setter
avatarDecoration ImageFormater?
no setter
bot bool
no setter
defaultAvatar String
Returns the absolute url to the user's avatar
no setter
discriminator String
no setter
hashCode int
The hash code for this object.
no setterinherited
id Snowflake
no setter
lang Locale
no setter
publicFlags int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status Status
getter/setter pair
tag String
no setter
username String
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send({String? content, List<EmbedBuilder>? embeds, List<RowBuilder>? components, bool? tts}) Future<DmMessage?>
Envoie un message en DM à l'utilisateur
toGuildMember(Snowflake guildId) GuildMember?
Return GuildMember of Guild context for this
toString() String
A string representation of this object.
override

Operators

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