Invite class

An invite to a Guild or Channel. If the invite is to a Channel, this will be a GroupDmChannel.

Implementers

Properties

approximateMemberCount int?
The approximate count of members in the Guild this invite is for.
final
approximatePresenceCount int?
The approximate count of online members in the Guild this invite is for.
final
channel PartialChannel
The PartialChannel this invite is for.
final
code String
The invite's code. This is a unique identifier.
final
expiresAt DateTime?
The expiration date of this invite.
final
guild PartialGuild?
The Guild this invite is for.
final
guildScheduledEvent ScheduledEvent?
The ScheduledEvent data, only included if InviteManager.fetch is called with guildScheduledEvent is set to a valid Snowflake.
final
hashCode int
The hash code for this object.
no setterinherited
inviter User?
The User who created this invite.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetApplication PartialApplication?
The PartialApplication to open for this voice channel embedded application invite.
final
targetType TargetType?
The TargetType for this voice channel invite.
final
targetUser User?
The User whose stream to display for this voice channel stream invite.
final

Methods

defaultToString() String
Same as toString, but only called when dart:mirrors is not available.
inherited
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 ==(Object other) bool
The equality operator.
inherited