Packages

c

ackcord.data

NormalTextGuildChannel

case class NormalTextGuildChannel(id: SnowflakeType[NormalTextGuildChannel], guildId: GuildId, name: String, position: Int, permissionOverwrites: SnowflakeMap[UserOrRole, PermissionOverwrite], topic: Option[String], lastMessageId: Option[MessageId], rateLimitPerUser: Option[Int], nsfw: Boolean, parentId: Option[SnowflakeType[GuildCategory]], lastPinTimestamp: Option[OffsetDateTime], defaultAutoArchiveDuration: Option[Int]) extends TextGuildChannel with Product with Serializable

A normal text channel in a guild

Source
channel.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NormalTextGuildChannel
  2. Serializable
  3. Product
  4. Equals
  5. TextGuildChannel
  6. TextChannel
  7. GuildChannel
  8. GetGuild
  9. Channel
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new NormalTextGuildChannel(id: SnowflakeType[NormalTextGuildChannel], guildId: GuildId, name: String, position: Int, permissionOverwrites: SnowflakeMap[UserOrRole, PermissionOverwrite], topic: Option[String], lastMessageId: Option[MessageId], rateLimitPerUser: Option[Int], nsfw: Boolean, parentId: Option[SnowflakeType[GuildCategory]], lastPinTimestamp: Option[OffsetDateTime], defaultAutoArchiveDuration: Option[Int])

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def category(implicit c: CacheSnapshot): Option[GuildCategory]

    Gets the category for this channel if it has one.

    Gets the category for this channel if it has one.

    Definition Classes
    GuildChannel
  6. def channelType: ChannelType

    The channel type of this channel

    The channel type of this channel

    Definition Classes
    NormalTextGuildChannelChannel
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. val defaultAutoArchiveDuration: Option[Int]

    The default for when a newly created thread is auto archived in minutes.

    The default for when a newly created thread is auto archived in minutes.

    Definition Classes
    NormalTextGuildChannelTextGuildChannel
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. def guild(implicit snapshot: CacheSnapshot): Option[GatewayGuild]

    The guild for this object

    The guild for this object

    Definition Classes
    GetGuild
  12. val guildId: GuildId

    The id of the containing guild

    The id of the containing guild

    Definition Classes
    NormalTextGuildChannelGuildChannelGetGuild
  13. val id: SnowflakeType[NormalTextGuildChannel]

    The id of the channel

    The id of the channel

    Definition Classes
    NormalTextGuildChannelTextGuildChannelTextChannelGuildChannelChannel
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def lastMessage(implicit c: CacheSnapshot): Option[Message]

    Gets the last message for this channel if it exists.

    Gets the last message for this channel if it exists.

    Definition Classes
    TextChannel
  16. val lastMessageId: Option[MessageId]

    Points to the last message id in the channel.

    Points to the last message id in the channel. The id might not point to a valid or existing message.

    Definition Classes
    NormalTextGuildChannelTextChannel
  17. val lastPinTimestamp: Option[OffsetDateTime]

    When the last pinned message was pinned.

    When the last pinned message was pinned.

    Definition Classes
    NormalTextGuildChannelTextGuildChannel
  18. def mention: String

    Get a representation of this channel that can refer to it in messages.

    Get a representation of this channel that can refer to it in messages.

    Definition Classes
    Channel
  19. val name: String

    The name of this channel

    The name of this channel

    Definition Classes
    NormalTextGuildChannelGuildChannel
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  23. val nsfw: Boolean

    If this channel is marked as NSFW.

    If this channel is marked as NSFW.

    Definition Classes
    NormalTextGuildChannelGuildChannel
  24. val parentId: Option[SnowflakeType[GuildCategory]]

    The id of the category this channel is in.

    The id of the category this channel is in.

    Definition Classes
    NormalTextGuildChannelGuildChannel
  25. val permissionOverwrites: SnowflakeMap[UserOrRole, PermissionOverwrite]

    The permission overwrites for this channel

    The permission overwrites for this channel

    Definition Classes
    NormalTextGuildChannelGuildChannel
  26. val position: Int

    The position of this channel

    The position of this channel

    Definition Classes
    NormalTextGuildChannelGuildChannel
  27. def productElementNames: Iterator[String]
    Definition Classes
    Product
  28. val rateLimitPerUser: Option[Int]

    The amount of time a user has to wait before sending messages after each other.

    The amount of time a user has to wait before sending messages after each other. Bots are not affected.

    Definition Classes
    NormalTextGuildChannelTextGuildChannel
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. val topic: Option[String]

    The topic for this channel.

    The topic for this channel.

    Definition Classes
    NormalTextGuildChannelTextGuildChannel
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. 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 TextGuildChannel

Inherited from TextChannel

Inherited from GuildChannel

Inherited from GetGuild

Inherited from Channel

Inherited from AnyRef

Inherited from Any

Ungrouped