IGuildPreview class abstract

Implemented types

Constructors

IGuildPreview()

Properties

approxMemberCount int
Approximate number of members in this guild
no setter
approxOnlineMembers int
Approximate number of online members in this guild
no setter
client INyxx
Reference to client
no setter
createdAt DateTime
Gets creation timestamp included in Snowflake
no setterinherited
description String?
The description for the guild
no setter
discoveryHash String?
Hash of guild discovery image. To get url use discoveryURL
no setter
emojis List<BaseGuildEmoji>
List of guild's emojis
no setter
features Iterable<GuildFeature>
List of guild's features
no setter
hashCode int
The hash code for this object.
no setterinherited
iconHash String?
Hash of guild icon. To get url use iconURL
no setter
id Snowflake
ID of entity as Snowflake
finalinherited
name String
Guild name
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
splashHash String?
Hash of guild spash image. To get url use splashURL
no setter

Methods

discoveryURL({String format = "webp", int size = 128}) String?
URL to guild's splash. If guild doesn't have splash it returns null.
iconURL({String format = "webp", int size = 128}) String?
The guild's icon, represented as URL. If guild doesn't have icon it returns null.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
splashURL({String format = "webp", int size = 128}) String?
URL to guild's splash. If guild doesn't have splash it returns null.
toString() String
A string representation of this object.
inherited

Operators

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