IInviteWithMeta class abstract

Implemented types

Constructors

IInviteWithMeta()

Properties

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

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