IGuildPreview class abstract

Implemented types

Constructors

IGuildPreview()

Properties

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

Methods

discoveryUrl({String format = 'webp', int? size}) String?
URL to guild's splash. If guild doesn't have discovery it returns null.
iconUrl({String format = 'webp', int? size, bool animated = true}) 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}) 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