Class

ackcord.data.raw

RawChannel

Related Doc: package raw

Permalink

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[ChannelId], 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.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RawChannel
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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[ChannelId], lastPinTimestamp: Option[OffsetDateTime])

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val applicationId: Option[RawSnowflake]

    Permalink

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

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val bitrate: Option[Int]

    Permalink

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

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. val guildId: Option[GuildId]

    Permalink

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

  12. val icon: Option[String]

    Permalink

    The icon of this channel if it has one.

  13. val id: ChannelId

    Permalink

    The channel id.

  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. val lastMessageId: Option[MessageId]

    Permalink

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

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

  16. val lastPinTimestamp: Option[OffsetDateTime]

    Permalink
  17. val name: Option[String]

    Permalink

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

  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. val nsfw: Option[Boolean]

    Permalink

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

  22. val ownerId: Option[UserId]

    Permalink

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

  23. val parentId: Option[ChannelId]

    Permalink

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

  24. val permissionOverwrites: Option[Seq[PermissionOverwrite]]

    Permalink

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

  25. val position: Option[Int]

    Permalink

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

  26. val rateLimitPerUser: Option[Int]

    Permalink

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

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

  27. val recipients: Option[Seq[User]]

    Permalink

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

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toChannel: Option[Channel]

    Permalink

    Try to convert this to a normal channel.

  30. def toGuildChannel(guildId: GuildId): Option[GuildChannel]

    Permalink
  31. val topic: Option[String]

    Permalink

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

  32. val type: ChannelType

    Permalink
  33. val userLimit: Option[Int]

    Permalink

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

  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped