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[ApplicationId], parentId: Option[GuildChannelId], lastPinTimestamp: Option[OffsetDateTime], rtcRegion: Option[String], videoQualityMode: Option[VideoQualityMode], messageCount: Option[Int], memberCount: Option[Int], threadMetadata: Option[RawThreadMetadata], member: Option[RawThreadMember], defaultAutoArchiveDuration: Option[Int]) 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.
- rtcRegion
Channel region to use. Automatic if none.
- messageCount
Approximate amount of messages in a thread. Stops at 50.
- memberCount
Approximate amount of members in a thread. Stops at 50.
- threadMetadata
Thread specific data.
- member
Info about the current member for a thread.
- defaultAutoArchiveDuration
The default for when a newly created thread is auto archived in minutes.
- 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[ApplicationId], parentId: Option[GuildChannelId], lastPinTimestamp: Option[OffsetDateTime], rtcRegion: Option[String], videoQualityMode: Option[VideoQualityMode], messageCount: Option[Int], memberCount: Option[Int], threadMetadata: Option[RawThreadMetadata], member: Option[RawThreadMember], defaultAutoArchiveDuration: Option[Int])
- 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.
- rtcRegion
Channel region to use. Automatic if none.
- messageCount
Approximate amount of messages in a thread. Stops at 50.
- memberCount
Approximate amount of members in a thread. Stops at 50.
- threadMetadata
Thread specific data.
- member
Info about the current member for a thread.
- defaultAutoArchiveDuration
The default for when a newly created thread is auto archived in minutes.
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[ApplicationId]
- 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() @IntrinsicCandidate()
- val defaultAutoArchiveDuration: Option[Int]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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 member: Option[RawThreadMember]
- val memberCount: Option[Int]
- val messageCount: Option[Int]
- val name: Option[String]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val nsfw: Option[Boolean]
- val ownerId: Option[UserId]
- val parentId: Option[GuildChannelId]
- 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]]
- val rtcRegion: Option[String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val threadMetadata: Option[RawThreadMetadata]
- def toChannel(botUserId: Option[UserId]): Option[Channel]
Try to convert this to a normal channel.
- def toGuildChannel(guildId: GuildId, botUserId: Option[UserId]): Option[GuildChannel]
- val topic: Option[String]
- val type: ChannelType
- val userLimit: Option[Int]
- val videoQualityMode: Option[VideoQualityMode]
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])