c

ackcord.data.raw

RawChannel

case class RawChannel(id: ChannelId, type: ChannelType, guildId: Option[GuildId], position: Option[Int], permissionOverwrites: Option[Seq[PermissionOverwrite]], name: Option[String], topic: Option[String], nsfw: Option[Boolean], lastMessageId: Option[MessageId], bitrate: Option[Int], userLimit: Option[Int], rateLimitPerUser: Option[Int], recipients: Option[Seq[User]], icon: Option[String], ownerId: Option[UserId], applicationId: Option[RawSnowflake], parentId: Option[SnowflakeType[GuildCategory]], lastPinTimestamp: Option[OffsetDateTime]) extends Product with Serializable

A raw channel before going through the cache.

id

The channel id.

guildId

The guildId this channel belongs to if it's a guild channel.

position

The position of this channel if it's a guild channel.

permissionOverwrites

The permission overwrites of this channel if it's a guild channel.

name

The name of this channel if it's a guild channel.

topic

The topic of this channel if it's a guild voice channel.

nsfw

If this channel is NSFW if it's a guild channel.

lastMessageId

The last message id if it's a text channel. The id may be invalid.

bitrate

The bitrate of this channel if it's a guild voice channel.

userLimit

The user limit of this channel if it's a guild voice channel.

rateLimitPerUser

The amount of time a user has to wait before sending messages after each other. Bots are not affected.

recipients

The recipients of this channel if it's a group DM channel.

icon

The icon of this channel if it has one.

ownerId

The owner of this channel if it's a DM or group DM channel.

applicationId

The application id of this channel if it's a guild channel.

parentId

The category of this channel if it's a guild channel.

Source
rawData.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RawChannel
  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 RawChannel(id: ChannelId, type: ChannelType, guildId: Option[GuildId], position: Option[Int], permissionOverwrites: Option[Seq[PermissionOverwrite]], name: Option[String], topic: Option[String], nsfw: Option[Boolean], lastMessageId: Option[MessageId], bitrate: Option[Int], userLimit: Option[Int], rateLimitPerUser: Option[Int], recipients: Option[Seq[User]], icon: Option[String], ownerId: Option[UserId], applicationId: Option[RawSnowflake], parentId: Option[SnowflakeType[GuildCategory]], lastPinTimestamp: Option[OffsetDateTime])

    id

    The channel id.

    guildId

    The guildId this channel belongs to if it's a guild channel.

    position

    The position of this channel if it's a guild channel.

    permissionOverwrites

    The permission overwrites of this channel if it's a guild channel.

    name

    The name of this channel if it's a guild channel.

    topic

    The topic of this channel if it's a guild voice channel.

    nsfw

    If this channel is NSFW if it's a guild channel.

    lastMessageId

    The last message id if it's a text channel. The id may be invalid.

    bitrate

    The bitrate of this channel if it's a guild voice channel.

    userLimit

    The user limit of this channel if it's a guild voice channel.

    rateLimitPerUser

    The amount of time a user has to wait before sending messages after each other. Bots are not affected.

    recipients

    The recipients of this channel if it's a group DM channel.

    icon

    The icon of this channel if it has one.

    ownerId

    The owner of this channel if it's a DM or group DM channel.

    applicationId

    The application id of this channel if it's a guild channel.

    parentId

    The category of this channel if it's a guild channel.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val applicationId: Option[RawSnowflake]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val bitrate: Option[Int]
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. val guildId: Option[GuildId]
  12. val icon: Option[String]
  13. val id: ChannelId
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. val lastMessageId: Option[MessageId]
  16. val lastPinTimestamp: Option[OffsetDateTime]
  17. val name: Option[String]
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. val nsfw: Option[Boolean]
  22. val ownerId: Option[UserId]
  23. val parentId: Option[SnowflakeType[GuildCategory]]
  24. val permissionOverwrites: Option[Seq[PermissionOverwrite]]
  25. val position: Option[Int]
  26. def productElementNames: Iterator[String]
    Definition Classes
    Product
  27. val rateLimitPerUser: Option[Int]
  28. val recipients: Option[Seq[User]]
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toChannel: Option[Channel]

    Try to convert this to a normal channel.

  31. def toGuildChannel(guildId: GuildId): Option[GuildChannel]
  32. val topic: Option[String]
  33. val type: ChannelType
  34. val userLimit: Option[Int]
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped