Packages

c

ackcord.data

CreatedInvite

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
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CreatedInvite
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. val channelId: GuildChannelId
  2. val code: String
  3. val createdAt: OffsetDateTime
  4. val guildId: Option[GuildId]
  5. val inviter: Option[User]
  6. val maxAge: Int
  7. val maxUses: Int
  8. def productElementNames: Iterator[String]
    Definition Classes
    Product
  9. val targetApplication: Option[PartialApplication]
  10. val targetType: Option[InviteTargetType]
  11. val targetUser: Option[User]
  12. val temporary: Boolean
  13. val uses: Int