Packages

class RawChannel extends DiscordObject with Channel

Represents a guild or DM channel within Discord.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RawChannel
  2. Channel
  3. DiscordObject
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RawChannel(json: Json, cache: Map[String, Any] = Map.empty)

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. def applicationId: UndefOr[data.ApplicationId]

    Application id of the group DM creator if it is bot-created

    Application id of the group DM creator if it is bot-created

    Annotations
    @inline()
  5. def appliedTags: UndefOr[Seq[data.Snowflake[ForumTag]]]

    The IDs of the set of tags that have been applied to a thread in a GUILD_FORUM or a GUILD_MEDIA channel

    The IDs of the set of tags that have been applied to a thread in a GUILD_FORUM or a GUILD_MEDIA channel

    Annotations
    @inline()
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def asRawChannel: RawChannel
    Definition Classes
    Channel
  8. def availableTags: UndefOr[Seq[ForumTag]]

    The set of tags that can be used in a GUILD_FORUM or a GUILD_MEDIA channel

    The set of tags that can be used in a GUILD_FORUM or a GUILD_MEDIA channel

    Annotations
    @inline()
  9. def bitrate: UndefOr[Int]

    The bitrate (in bits) of the voice channel

    The bitrate (in bits) of the voice channel

    Annotations
    @inline()
  10. def cacheCopy: Map[String, Any]
    Definition Classes
    DiscordObject
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. def defaultAutoArchiveDuration: UndefOr[Int]

    Default duration, copied onto newly created threads, in minutes, threads will stop showing in the channel list after the specified period of inactivity, can be set to: 60, 1440, 4320, 10080

    Default duration, copied onto newly created threads, in minutes, threads will stop showing in the channel list after the specified period of inactivity, can be set to: 60, 1440, 4320, 10080

    Annotations
    @inline()
  13. def defaultForumLayout: UndefOr[ForumLayout]

    The default forum layout view used to display posts in GUILD_FORUM channels.

    The default forum layout view used to display posts in GUILD_FORUM channels. Defaults to 0, which indicates a layout view has not been set by a channel admin

    Annotations
    @inline()
  14. def defaultReactionEmoji: JsonOption[DefaultReaction]

    The emoji to show in the add reaction button on a thread in a GUILD_FORUM or a GUILD_MEDIA channel

    The emoji to show in the add reaction button on a thread in a GUILD_FORUM or a GUILD_MEDIA channel

    Annotations
    @inline()
  15. def defaultSortOrder: JsonOption[ForumSortOrder]

    The default sort order type used to order posts in GUILD_FORUM and GUILD_MEDIA channels.

    The default sort order type used to order posts in GUILD_FORUM and GUILD_MEDIA channels. Defaults to null, which indicates a preferred sort order hasn't been set by a channel admin

    Annotations
    @inline()
  16. def defaultThreadRateLimitPerUser: UndefOr[Int]

    The initial rate_limit_per_user to set on newly created threads in a channel.

    The initial rate_limit_per_user to set on newly created threads in a channel. this field is copied to the thread at creation time and does not live update.

    Annotations
    @inline()
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. def extensionCache(s: String): Map[String, Any]
    Definition Classes
    DiscordObject
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  21. def flags: UndefOr[ChannelFlags]

    Channel flags combined as a bitfield

    Channel flags combined as a bitfield

    Annotations
    @inline()
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def guildId: UndefOr[data.GuildId]

    The id of the guild (may be missing for some channel objects received over gateway guild dispatches)

    The id of the guild (may be missing for some channel objects received over gateway guild dispatches)

    Annotations
    @inline()
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. def icon: JsonOption[data.ImageHash]

    Icon hash of the group DM

    Icon hash of the group DM

    Annotations
    @inline()
  26. def id: data.ChannelId

    The id of this channel

    The id of this channel

    Definition Classes
    RawChannelChannel
    Annotations
    @inline()
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. val json: Json
    Definition Classes
    DiscordObject
  29. def lastMessageId: JsonOption[data.MessageId]

    The id of the last message sent in this channel (or thread for GUILD_FORUM and GUILD_MEDIA channels) (may not point to an existing or valid message or thread)

    The id of the last message sent in this channel (or thread for GUILD_FORUM and GUILD_MEDIA channels) (may not point to an existing or valid message or thread)

    Annotations
    @inline()
  30. def lastPinTimestamp: JsonOption[OffsetDateTime]

    When the last pinned message was pinned.

    When the last pinned message was pinned. This may be null in events such as GUILD_CREATE when a message is not pinned.

    Annotations
    @inline()
  31. def managed: UndefOr[Boolean]

    For group DM channels: whether the channel is managed by an application via the gdm.join OAuth2 scope

    For group DM channels: whether the channel is managed by an application via the gdm.join OAuth2 scope

    Annotations
    @inline()
  32. def member: UndefOr[ThreadMember]

    Thread member object for the current user, if they have joined the thread, only included on certain API endpoints

    Thread member object for the current user, if they have joined the thread, only included on certain API endpoints

    Annotations
    @inline()
  33. def memberCount: UndefOr[Int]

    An approximate count of users in a thread, stops counting at 50

    An approximate count of users in a thread, stops counting at 50

    Annotations
    @inline()
  34. def messageCount: UndefOr[Int]

    Number of messages (not including the initial message or deleted messages) in a thread.

    Number of messages (not including the initial message or deleted messages) in a thread.

    Annotations
    @inline()
  35. def name: JsonOption[String]

    The name of the channel (1-100 characters)

    The name of the channel (1-100 characters)

    Annotations
    @inline()
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. def nsfw: UndefOr[Boolean]

    Whether the channel is nsfw

    Whether the channel is nsfw

    Annotations
    @inline()
  40. def objWith[A <: DiscordObject, V](companion: DiscordObjectCompanion[A], name: String, obj: V)(implicit encoder: Encoder[V]): A
    Definition Classes
    DiscordObject
  41. def objWithJson[A <: DiscordObject](companion: DiscordObjectCompanion[A], json: Json, cacheUpdates: Map[String, Any]): A
    Definition Classes
    DiscordObject
  42. def objWithUndef[A <: DiscordObject, V](companion: DiscordObjectCompanion[A], name: String, obj: JsonOption[V])(implicit encoder: Encoder[V]): A
    Definition Classes
    DiscordObject
  43. def objWithUndef[A <: DiscordObject, V](companion: DiscordObjectCompanion[A], name: String, obj: UndefOr[V])(implicit encoder: Encoder[V]): A
    Definition Classes
    DiscordObject
  44. def objWithout[A <: DiscordObject](companion: DiscordObjectCompanion[A], name: String): A
    Definition Classes
    DiscordObject
  45. def ownerId: UndefOr[data.UserId]

    Id of the creator of the group DM or thread

    Id of the creator of the group DM or thread

    Annotations
    @inline()
  46. def parentId: UndefOr[data.GuildChannelId]

    For guild channels: id of the parent category for a channel (each parent category can contain up to 50 channels), for threads: id of the text channel this thread was created

    For guild channels: id of the parent category for a channel (each parent category can contain up to 50 channels), for threads: id of the text channel this thread was created

    Annotations
    @inline()
  47. def permissionOverwrites: UndefOr[Seq[PermissionOverwrite]]

    Explicit permission overwrites for members and roles

    Explicit permission overwrites for members and roles

    Annotations
    @inline()
  48. def permissions: UndefOr[data.Permissions]

    Computed permissions for the invoking user in the channel, including overwrites, only included when part of the resolved data received on a slash command interaction.

    Computed permissions for the invoking user in the channel, including overwrites, only included when part of the resolved data received on a slash command interaction. This does not include implicit permissions, which may need to be checked separately

    Annotations
    @inline()
  49. def position: UndefOr[Int]

    Sorting position of the channel

    Sorting position of the channel

    Annotations
    @inline()
  50. def rateLimitPerUser: UndefOr[Int]

    Amount of seconds a user has to wait before sending another message (0-21600); bots, as well as users with the permission manage_messages or manage_channel, are unaffected

    Amount of seconds a user has to wait before sending another message (0-21600); bots, as well as users with the permission manage_messages or manage_channel, are unaffected

    Annotations
    @inline()
  51. def recipients: UndefOr[Seq[User]]

    The recipients of the DM

    The recipients of the DM

    Annotations
    @inline()
  52. def retype[A <: DiscordObject](companion: DiscordObjectCompanion[A]): A
    Definition Classes
    DiscordObject
  53. def rtcRegion: JsonOption[VoiceRegion]

    Voice region id for the voice channel, automatic when set to null

    Voice region id for the voice channel, automatic when set to null

    Annotations
    @inline()
  54. def selectDynamic[A](name: String)(implicit decoder: Decoder[A]): A
    Definition Classes
    DiscordObject
  55. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  56. def threadMetadata: UndefOr[ThreadMetadata]

    Thread-specific fields not needed by other channels

    Thread-specific fields not needed by other channels

    Annotations
    @inline()
  57. def toString(): String
    Definition Classes
    DiscordObject → AnyRef → Any
  58. def topic: JsonOption[String]

    The channel topic (0-4096 characters for GUILD_FORUM and GUILD_MEDIA channels, 0-1024 characters for all others)

    The channel topic (0-4096 characters for GUILD_FORUM and GUILD_MEDIA channels, 0-1024 characters for all others)

    Annotations
    @inline()
  59. def totalMessageSent: UndefOr[Int]

    Number of messages ever sent in a thread, it's similar to message_count on message creation, but will not decrement the number when a message is deleted

    Number of messages ever sent in a thread, it's similar to message_count on message creation, but will not decrement the number when a message is deleted

    Annotations
    @inline()
  60. def tpe: ChannelType

    The type of channel

    The type of channel

    Annotations
    @inline()
  61. def userLimit: UndefOr[Int]

    The user limit of the voice channel

    The user limit of the voice channel

    Annotations
    @inline()
  62. def values: Seq[() => Any]
    Definition Classes
    RawChannelDiscordObject
  63. def videoQualityMode: UndefOr[VideoQualityMode]

    The camera video quality mode of the voice channel, 1 when not present

    The camera video quality mode of the voice channel, 1 when not present

    Annotations
    @inline()
  64. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  65. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  66. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  67. def withApplicationId(newValue: UndefOr[data.ApplicationId]): RawChannel
    Annotations
    @inline()
  68. def withAppliedTags(newValue: UndefOr[Seq[data.Snowflake[ForumTag]]]): RawChannel
    Annotations
    @inline()
  69. def withAvailableTags(newValue: UndefOr[Seq[ForumTag]]): RawChannel
    Annotations
    @inline()
  70. def withBitrate(newValue: UndefOr[Int]): RawChannel
    Annotations
    @inline()
  71. def withDefaultAutoArchiveDuration(newValue: UndefOr[Int]): RawChannel
    Annotations
    @inline()
  72. def withDefaultForumLayout(newValue: UndefOr[ForumLayout]): RawChannel
    Annotations
    @inline()
  73. def withDefaultReactionEmoji(newValue: JsonOption[DefaultReaction]): RawChannel
    Annotations
    @inline()
  74. def withDefaultSortOrder(newValue: JsonOption[ForumSortOrder]): RawChannel
    Annotations
    @inline()
  75. def withDefaultThreadRateLimitPerUser(newValue: UndefOr[Int]): RawChannel
    Annotations
    @inline()
  76. def withFlags(newValue: UndefOr[ChannelFlags]): RawChannel
    Annotations
    @inline()
  77. def withGuildId(newValue: UndefOr[data.GuildId]): RawChannel
    Annotations
    @inline()
  78. def withIcon(newValue: JsonOption[data.ImageHash]): RawChannel
    Annotations
    @inline()
  79. def withId(newValue: data.ChannelId): RawChannel
    Annotations
    @inline()
  80. def withLastMessageId(newValue: JsonOption[data.MessageId]): RawChannel
    Annotations
    @inline()
  81. def withLastPinTimestamp(newValue: JsonOption[OffsetDateTime]): RawChannel
    Annotations
    @inline()
  82. def withManaged(newValue: UndefOr[Boolean]): RawChannel
    Annotations
    @inline()
  83. def withMember(newValue: UndefOr[ThreadMember]): RawChannel
    Annotations
    @inline()
  84. def withMemberCount(newValue: UndefOr[Int]): RawChannel
    Annotations
    @inline()
  85. def withMessageCount(newValue: UndefOr[Int]): RawChannel
    Annotations
    @inline()
  86. def withName(newValue: JsonOption[String]): RawChannel
    Annotations
    @inline()
  87. def withNsfw(newValue: UndefOr[Boolean]): RawChannel
    Annotations
    @inline()
  88. def withOwnerId(newValue: UndefOr[data.UserId]): RawChannel
    Annotations
    @inline()
  89. def withParentId(newValue: UndefOr[data.GuildChannelId]): RawChannel
    Annotations
    @inline()
  90. def withPermissionOverwrites(newValue: UndefOr[Seq[PermissionOverwrite]]): RawChannel
    Annotations
    @inline()
  91. def withPermissions(newValue: UndefOr[data.Permissions]): RawChannel
    Annotations
    @inline()
  92. def withPosition(newValue: UndefOr[Int]): RawChannel
    Annotations
    @inline()
  93. def withRateLimitPerUser(newValue: UndefOr[Int]): RawChannel
    Annotations
    @inline()
  94. def withRecipients(newValue: UndefOr[Seq[User]]): RawChannel
    Annotations
    @inline()
  95. def withRtcRegion(newValue: JsonOption[VoiceRegion]): RawChannel
    Annotations
    @inline()
  96. def withThreadMetadata(newValue: UndefOr[ThreadMetadata]): RawChannel
    Annotations
    @inline()
  97. def withTopic(newValue: JsonOption[String]): RawChannel
    Annotations
    @inline()
  98. def withTotalMessageSent(newValue: UndefOr[Int]): RawChannel
    Annotations
    @inline()
  99. def withTpe(newValue: ChannelType): RawChannel
    Annotations
    @inline()
  100. def withUserLimit(newValue: UndefOr[Int]): RawChannel
    Annotations
    @inline()
  101. def withVideoQualityMode(newValue: UndefOr[VideoQualityMode]): RawChannel
    Annotations
    @inline()

Inherited from Channel

Inherited from DiscordObject

Inherited from AnyRef

Inherited from Any

Ungrouped