case class CreatedInvite(channelId: GuildChannelId, code: String, createdAt: OffsetDateTime, guildId: Option[GuildId], inviter: Option[User], maxAge: Int, maxUses: Int, targetUser: Option[User], targetType: Option[InviteTargetType], targetApplication: Option[PartialApplication], temporary: Boolean, uses: Int) extends Product with Serializable
A newly created invite.
- channelId
The channel the invite is for.
- code
An invite code.
- createdAt
When this invite was created
- guildId
The guild the invite is for.
- inviter
The user that created the invite.
- maxAge
The duration in seconds when the invite will expire
- maxUses
How many times this invite can be used.
- targetUser
The user who's stream should be displayed for this invite.
- targetType
The type of target for this voice channel invite.
- targetApplication
The embedded application to open for this voice channel embedded application invite.
- temporary
If this invite is temporary
- uses
How many times the invite has been used.
- Source
- invite.scala
- Alphabetic
- By Inheritance
- CreatedInvite
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CreatedInvite(channelId: GuildChannelId, code: String, createdAt: OffsetDateTime, guildId: Option[GuildId], inviter: Option[User], maxAge: Int, maxUses: Int, targetUser: Option[User], targetType: Option[InviteTargetType], targetApplication: Option[PartialApplication], temporary: Boolean, uses: Int)
- channelId
The channel the invite is for.
- code
An invite code.
- createdAt
When this invite was created
- guildId
The guild the invite is for.
- inviter
The user that created the invite.
- maxAge
The duration in seconds when the invite will expire
- maxUses
How many times this invite can be used.
- targetUser
The user who's stream should be displayed for this invite.
- targetType
The type of target for this voice channel invite.
- targetApplication
The embedded application to open for this voice channel embedded application invite.
- temporary
If this invite is temporary
- uses
How many times the invite has been used.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val channelId: GuildChannelId
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val code: String
- val createdAt: OffsetDateTime
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val guildId: Option[GuildId]
- val inviter: Option[User]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxAge: Int
- val maxUses: Int
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val targetApplication: Option[PartialApplication]
- val targetType: Option[InviteTargetType]
- val targetUser: Option[User]
- val temporary: Boolean
- val uses: Int
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])