InviteWithMeta class
Invite object with additional metadata
Properties
-
channel
↔ Cacheable<
Snowflake, TextChannel> ? -
A mini channel object for the invite's channel.
latefinalinherited
- client → INyxx
-
Reference to bot instance
finalinherited
- code ↔ String
-
The invite's code.
latefinalinherited
- createdAt ↔ DateTime
-
Date when invite was created
latefinal
- expiryDate → DateTime
-
Date when invite will expire
no setter
-
guild
↔ Cacheable<
Snowflake, Guild> ? -
A mini guild object for the invite's guild.
latefinalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- inviter ↔ User?
-
User who created this invite
latefinalinherited
- isValid → bool
-
True if Invite is valid and can be used
no setter
- maxAge ↔ int
-
Duration (in seconds) after which the invite expires
latefinal
- maxUses ↔ int
-
Max number of uses of this invite
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
targetUser
↔ Cacheable<
Snowflake, User> ? -
The target user for this invite
latefinalinherited
- temporary ↔ bool
-
Whether this invite only grants temporary membership
latefinal
- url → String
-
Returns url to invite
no setterinherited
- uses ↔ int
-
Number of uses of this invite
latefinal
Methods
-
delete(
{String? auditReason}) → Future< void> -
Deletes this Invite.
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