Class

ackcord.data

NewsTGuildChannel

Related Doc: package data

Permalink

case class NewsTGuildChannel(id: ChannelId, guildId: GuildId, name: String, position: Int, permissionOverwrites: SnowflakeMap[UserOrRoleTag, PermissionOverwrite], topic: Option[String], lastMessageId: Option[MessageId], nsfw: Boolean, parentId: Option[ChannelId], lastPinTimestamp: Option[OffsetDateTime]) extends TGuildChannel with Product with Serializable

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

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NewsTGuildChannel
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. TGuildChannel
  7. TChannel
  8. GuildChannel
  9. GetGuild
  10. Channel
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NewsTGuildChannel(id: ChannelId, guildId: GuildId, name: String, position: Int, permissionOverwrites: SnowflakeMap[UserOrRoleTag, PermissionOverwrite], topic: Option[String], lastMessageId: Option[MessageId], nsfw: Boolean, parentId: Option[ChannelId], lastPinTimestamp: Option[OffsetDateTime])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def category[F[_]](implicit c: CacheSnapshot[F], F: Functor[F]): OptionT[F, GuildCategory]

    Permalink

    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

    Permalink

    The channel type of this channel

    The channel type of this channel

    Definition Classes
    NewsTGuildChannelChannel
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def guild[F[_]](implicit snapshot: CacheSnapshot[F]): OptionT[F, Guild]

    Permalink

    The guild for this object

    The guild for this object

    Definition Classes
    GetGuild
  12. val guildId: GuildId

    Permalink

    The id of the containing guild

    The id of the containing guild

    Definition Classes
    NewsTGuildChannelGuildChannelGetGuild
  13. val id: ChannelId

    Permalink

    The id of the channel

    The id of the channel

    Definition Classes
    NewsTGuildChannelChannel
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def lastMessage[F[_]](implicit c: CacheSnapshot[F], F: Applicative[F]): OptionT[F, Message]

    Permalink

    Gets the last message for this channel if it exists.

    Gets the last message for this channel if it exists.

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

    Permalink

    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
    NewsTGuildChannelTChannel
  17. val lastPinTimestamp: Option[OffsetDateTime]

    Permalink

    When the last pinned message was pinned.

    When the last pinned message was pinned.

    Definition Classes
    NewsTGuildChannelTGuildChannel
  18. def mention: String

    Permalink

    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

    Permalink

    The name of this channel

    The name of this channel

    Definition Classes
    NewsTGuildChannelGuildChannel
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. val nsfw: Boolean

    Permalink

    If this channel is marked as NSFW.

    If this channel is marked as NSFW.

    Definition Classes
    NewsTGuildChannelGuildChannel
  24. val parentId: Option[ChannelId]

    Permalink

    The id of the category this channel is in.

    The id of the category this channel is in.

    Definition Classes
    NewsTGuildChannelGuildChannel
  25. val permissionOverwrites: SnowflakeMap[UserOrRoleTag, PermissionOverwrite]

    Permalink

    The permission overwrites for this channel

    The permission overwrites for this channel

    Definition Classes
    NewsTGuildChannelGuildChannel
  26. val position: Int

    Permalink

    The position of this channel

    The position of this channel

    Definition Classes
    NewsTGuildChannelGuildChannel
  27. def rateLimitPerUser: Option[Int]

    Permalink

    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
    NewsTGuildChannelTGuildChannel
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. val topic: Option[String]

    Permalink

    The topic for this channel.

    The topic for this channel.

    Definition Classes
    NewsTGuildChannelTGuildChannel
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from TGuildChannel

Inherited from TChannel

Inherited from GuildChannel

Inherited from GetGuild

Inherited from Channel

Inherited from AnyRef

Inherited from Any

Ungrouped