InviteImpl

class InviteImpl(val yde: YDE, val json: JsonNode) : Invite(source)

Constructors

Link copied to clipboard
constructor(yde: YDE, json: JsonNode)

Functions

Link copied to clipboard
open override fun toString(): String

Converts this entity to a string using the io.github.ydwk.ydwk.util.EntityToStringBuilder.

Properties

Link copied to clipboard
open override val approximateMemberCount: Int

The approximate number of members in the guild.

Link copied to clipboard
open override val approximatePresenceCount: Int

The approximate presence count of the invite.

Link copied to clipboard
open override val channel: GuildChannel

The channel this invite is for.

Link copied to clipboard
open override val code: String

The invite code (unique ID).

Link copied to clipboard
open override val expirationDate: ZonedDateTime

The expiration date of the invite.

Link copied to clipboard
open override val guild: Guild

The guild this invite is for.

Link copied to clipboard

The guild scheduled event this invite is for.

Link copied to clipboard
open override val inviter: User?

The inviter of the invite.

Link copied to clipboard
open override val json: JsonNode

The json representation of this entity.

Link copied to clipboard
open override val targetApplication: Application?

The target application of the invite.

Link copied to clipboard
open override val targetType: TargetType

The target type of the invite.

Link copied to clipboard
open override val targetUser: User?

The target user of the invite.

Link copied to clipboard
open override val yde: YDE

The main YDE instance.