Class DiscordInvite
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
Represents a Discord invite.
public class DiscordInvite : ObservableApiObject
- Inheritance
-
DiscordInvite
- Inherited Members
Properties
- ApproximateMemberCount
Gets the approximate guild total member count for the invite.
- ApproximatePresenceCount
Gets the approximate guild online member count for the invite.
- Channel
Gets the channel this invite is for.
- Code
Gets the invite's code.
- CreatedAt
Gets the date and time this invite was created.
- ExpiredAt
Gets the date and time when this invite got expired.
- ExpiresAt
Gets the date and time when this invite expires.
- Flags
Gets the invites flags.
- Guild
Gets the guild this invite is for.
- GuildScheduledEvent
Gets the guild scheduled event data for the invite.
- Inviter
Gets the user who created the invite.
- IsRevoked
Gets whether this invite is revoked.
- IsTemporary
Gets whether this invite only grants temporary membership.
- MaxAge
Gets duration in seconds after which the invite expires.
- MaxUses
Gets the max number of times this invite can be used.
- Stage
Gets the stage instance this invite is for.
- TargetApplication
Gets the embedded partial application to open for this voice channel.
- TargetType
Gets the target type for the voice channel this invite is for.
- TargetUser
Gets the user that is currently livestreaming.
- Type
Gets the type of this invite.
- Uri
Gets the invite's url as Uri.
- Url
Gets the invite's url.
- Uses
Gets the number of times this invite has been used.
Methods
- DeleteAsync(string)
Deletes the invite.
- ToString()
Converts this invite into an invite link.