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
- val applicationId: Option[ApplicationId]
- val bitrate: Option[Int]
- val defaultAutoArchiveDuration: Option[Int]
- val guildId: Option[GuildId]
- val icon: Option[String]
- val id: ChannelId
- val lastMessageId: Option[MessageId]
- val lastPinTimestamp: Option[OffsetDateTime]
- val member: Option[RawThreadMember]
- val memberCount: Option[Int]
- val messageCount: Option[Int]
- val name: Option[String]
- 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]
- 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]