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[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
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[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

  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[ApplicationId]
  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() @IntrinsicCandidate()
  8. val defaultAutoArchiveDuration: Option[Int]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  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 member: Option[RawThreadMember]
  18. val memberCount: Option[Int]
  19. val messageCount: Option[Int]
  20. val name: Option[String]
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  24. val nsfw: Option[Boolean]
  25. val ownerId: Option[UserId]
  26. val parentId: Option[GuildChannelId]
  27. val permissionOverwrites: Option[Seq[PermissionOverwrite]]
  28. val position: Option[Int]
  29. def productElementNames: Iterator[String]
    Definition Classes
    Product
  30. val rateLimitPerUser: Option[Int]
  31. val recipients: Option[Seq[User]]
  32. val rtcRegion: Option[String]
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. val threadMetadata: Option[RawThreadMetadata]
  35. def toChannel(botUserId: Option[UserId]): Option[Channel]

    Try to convert this to a normal channel.

  36. def toGuildChannel(guildId: GuildId, botUserId: Option[UserId]): Option[GuildChannel]
  37. val topic: Option[String]
  38. val type: ChannelType
  39. val userLimit: Option[Int]
  40. val videoQualityMode: Option[VideoQualityMode]
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped