Packages

case class Invite(code: String, guild: Option[InviteGuild], channel: InviteChannel, inviter: Option[User], targetUser: Option[User], targetType: Option[InviteTargetType], targetApplication: Option[PartialApplication], approximatePresenceCount: Option[Int], approximateMemberCount: Option[Int], expiresAt: Option[OffsetDateTime], stageInstance: Option[InviteStageInstance], guildScheduledInvite: Option[GuildScheduledEvent]) extends Product with Serializable

A simple invite.

code

An invite code.

guild

The guild the invite is for.

channel

The channel the invite is for.

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.

approximatePresenceCount

Approximate amount of people online.

approximateMemberCount

Approximate amount of total members.

stageInstance

Stage instance if there is a public stage instance in the stage channel this invite leads to.

Source
invite.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Invite
  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 Invite(code: String, guild: Option[InviteGuild], channel: InviteChannel, inviter: Option[User], targetUser: Option[User], targetType: Option[InviteTargetType], targetApplication: Option[PartialApplication], approximatePresenceCount: Option[Int], approximateMemberCount: Option[Int], expiresAt: Option[OffsetDateTime], stageInstance: Option[InviteStageInstance], guildScheduledInvite: Option[GuildScheduledEvent])

    code

    An invite code.

    guild

    The guild the invite is for.

    channel

    The channel the invite is for.

    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.

    approximatePresenceCount

    Approximate amount of people online.

    approximateMemberCount

    Approximate amount of total members.

    stageInstance

    Stage instance if there is a public stage instance in the stage channel this invite leads to.

Value Members

  1. val approximateMemberCount: Option[Int]
  2. val approximatePresenceCount: Option[Int]
  3. val channel: InviteChannel
  4. val code: String
  5. val expiresAt: Option[OffsetDateTime]
  6. val guild: Option[InviteGuild]
  7. val guildScheduledInvite: Option[GuildScheduledEvent]
  8. val inviter: Option[User]
  9. def productElementNames: Iterator[String]
    Definition Classes
    Product
  10. val stageInstance: Option[InviteStageInstance]
  11. val targetApplication: Option[PartialApplication]
  12. val targetType: Option[InviteTargetType]
  13. val targetUser: Option[User]