IInviteWithMeta class abstract

Implemented types

Constructors

IInviteWithMeta()

Properties

channel Cacheable<Snowflake, ITextChannel>?
A mini channel object for the invite's channel.
read-onlyinherited
client INyxx
Reference to bot instance
read-onlyinherited
code String
The invite's code.
read-onlyinherited
createdAt DateTime
Date when invite was created
read-only
expiryDate DateTime
Date when invite will expire
read-only
guild Cacheable<Snowflake, IGuild>?
A mini guild object for the invite's guild.
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
inviter IUser?
User who created this invite
read-onlyinherited
isValid bool
True if Invite is valid and can be used
read-only
maxAge int
Duration (in seconds) after which the invite expires
read-only
maxUses int
Max number of uses of this invite
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
targetUser Cacheable<Snowflake, IUser>?
The target user for this invite
read-onlyinherited
temporary bool
Whether this invite only grants temporary membership
read-only
url String
Returns url to invite
read-onlyinherited
uses int
Number of uses of this invite
read-only

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