GuildPreview class
Returns guild even if the user is not in the guild. This endpoint is only for Public guilds.
- Inheritance
-
- Object
- SnowflakeEntity
- GuildPreview
Properties
- approxMemberCount ↔ int
-
Approximate number of members in this guild
latefinal
- approxOnlineMembers ↔ int
-
Approximate number of online members in this guild
latefinal
- client → INyxx
-
Reference to client
final
- createdAt → DateTime
-
Gets creation timestamp included in Snowflake
no setterinherited
- description ↔ String?
-
The description for the guild
getter/setter pair
- discoveryHash ↔ String?
-
Hash of guild discovery image. To get url use discoveryURL
getter/setter pair
-
emojis
↔ List<
GuildEmoji> -
List of guild's emojis
latefinal
-
features
↔ Iterable<
GuildFeature> -
List of guild's features
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconHash ↔ String?
-
Hash of guild icon. To get url use iconURL
getter/setter pair
- id → Snowflake
-
ID of entity as Snowflake
finalinherited
- name ↔ String
-
Guild name
latefinal
- 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
getter/setter pair
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