IMessageAuthor class abstract

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

Implemented types
Implementers

Constructors

IMessageAuthor()

Properties

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

Methods

avatarURL({String format = "webp", int size = 128}) String
Url to user avatar
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 ==(dynamic other) bool
The equality operator.
inherited