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
- Alphabetic
- By Inheritance
- RawChannel
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- 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
- val applicationId: Option[RawSnowflake]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bitrate: Option[Int]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val guildId: Option[GuildId]
- val icon: Option[String]
- val id: ChannelId
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lastMessageId: Option[MessageId]
- val lastPinTimestamp: Option[OffsetDateTime]
- val name: Option[String]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val nsfw: Option[Boolean]
- val ownerId: Option[UserId]
- val parentId: Option[SnowflakeType[GuildCategory]]
- val permissionOverwrites: Option[Seq[PermissionOverwrite]]
- val position: Option[Int]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val rateLimitPerUser: Option[Int]
- val recipients: Option[Seq[User]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toChannel: Option[Channel]
Try to convert this to a normal channel.
- def toGuildChannel(guildId: GuildId): Option[GuildChannel]
- val topic: Option[String]
- val type: ChannelType
- val userLimit: Option[Int]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()