IMessageAuthor class

Could be either User, CacheMember or Webhook. Webhook will have most of field missing.

Implemented types
Implementers

Constructors

IMessageAuthor()

Properties

bot bool
True if bot or webhook
read-only
createdAt DateTime
Gets creation timestamp included in Snowflake
read-only, inherited
discriminator int
User Discriminator. -1 if webhook
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
id Snowflake
ID of entity as Snowflake
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tag String
User tag: l7ssha#6712
read-only
username String
User name
read-only

Methods

avatarURL({String format: "webp", int size: 128}) String
Url to user avatar
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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