Packages

c

ackcord.data

NewsTextGuildChannel

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

A news channel in a guild. For the most part you can treat this like any other text channel.

Source
channel.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NewsTextGuildChannel
  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 NewsTextGuildChannel(id: SnowflakeType[NewsTextGuildChannel], guildId: GuildId, name: String, position: Int, permissionOverwrites: SnowflakeMap[UserOrRole, PermissionOverwrite], topic: Option[String], lastMessageId: Option[MessageId], 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
    NewsTextGuildChannelChannel
  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
    NewsTextGuildChannelTextGuildChannel
  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
    NewsTextGuildChannelGuildChannelGetGuild
  6. val id: SnowflakeType[NewsTextGuildChannel]

    The id of the channel

    The id of the channel

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

    When the last pinned message was pinned.

    When the last pinned message was pinned.

    Definition Classes
    NewsTextGuildChannelTextGuildChannel
  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
    NewsTextGuildChannelGuildChannel
  12. val nsfw: Boolean

    If this channel is marked as NSFW.

    If this channel is marked as NSFW.

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

    The permission overwrites for this channel

    The permission overwrites for this channel

    Definition Classes
    NewsTextGuildChannelGuildChannel
  15. val position: Int

    The position of this channel

    The position of this channel

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

    The topic for this channel.

    The topic for this channel.

    Definition Classes
    NewsTextGuildChannelTextGuildChannel