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. 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
  2. def channelType: ChannelType

    The channel type of this channel

    The channel type of this channel

    Definition Classes
    NormalTextGuildChannelChannel
  3. 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
  4. def guild(implicit snapshot: CacheSnapshot): Option[GatewayGuild]

    The guild for this object

    The guild for this object

    Definition Classes
    GetGuild
  5. val guildId: GuildId

    The id of the containing guild

    The id of the containing guild

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

    The id of the channel

    The id of the channel

    Definition Classes
    NormalTextGuildChannelTextGuildChannelTextChannelGuildChannelChannel
  7. 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
  8. 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
  9. val lastPinTimestamp: Option[OffsetDateTime]

    When the last pinned message was pinned.

    When the last pinned message was pinned.

    Definition Classes
    NormalTextGuildChannelTextGuildChannel
  10. 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
  11. val name: String

    The name of this channel

    The name of this channel

    Definition Classes
    NormalTextGuildChannelGuildChannel
  12. val nsfw: Boolean

    If this channel is marked as NSFW.

    If this channel is marked as NSFW.

    Definition Classes
    NormalTextGuildChannelGuildChannel
  13. 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
  14. val permissionOverwrites: SnowflakeMap[UserOrRole, PermissionOverwrite]

    The permission overwrites for this channel

    The permission overwrites for this channel

    Definition Classes
    NormalTextGuildChannelGuildChannel
  15. val position: Int

    The position of this channel

    The position of this channel

    Definition Classes
    NormalTextGuildChannelGuildChannel
  16. def productElementNames: Iterator[String]
    Definition Classes
    Product
  17. 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
  18. val topic: Option[String]

    The topic for this channel.

    The topic for this channel.

    Definition Classes
    NormalTextGuildChannelTextGuildChannel