case class ThreadGuildChannel(id: SnowflakeType[ThreadGuildChannel], guildId: GuildId, name: String, lastMessageId: Option[MessageId], ownerId: UserId, rateLimitPerUser: Option[Int], parentChannelId: TextGuildChannelId, channelType: ThreadChannelType, messageCount: Int, memberCount: Int, archived: Boolean, archiveTimestamp: OffsetDateTime, autoArchiveDuration: Int, locked: Boolean, invitable: Option[Boolean], member: Option[ThreadMember]) extends TextGuildChannel with Product with Serializable
- Source
- channel.scala
- Alphabetic
- By Inheritance
- ThreadGuildChannel
- Serializable
- Product
- Equals
- TextGuildChannel
- TextChannel
- GuildChannel
- GetGuild
- Channel
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ThreadGuildChannel(id: SnowflakeType[ThreadGuildChannel], guildId: GuildId, name: String, lastMessageId: Option[MessageId], ownerId: UserId, rateLimitPerUser: Option[Int], parentChannelId: TextGuildChannelId, channelType: ThreadChannelType, messageCount: Int, memberCount: Int, archived: Boolean, archiveTimestamp: OffsetDateTime, autoArchiveDuration: Int, locked: Boolean, invitable: Option[Boolean], member: Option[ThreadMember])
Value Members
- val archiveTimestamp: OffsetDateTime
- val archived: Boolean
- val autoArchiveDuration: Int
- 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
- val channelType: ThreadChannelType
The channel type of this channel
The channel type of this channel
- Definition Classes
- ThreadGuildChannel → Channel
- def 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
- ThreadGuildChannel → TextGuildChannel
- def guild(implicit snapshot: CacheSnapshot): Option[GatewayGuild]
The guild for this object
The guild for this object
- Definition Classes
- GetGuild
- val guildId: GuildId
The id of the containing guild
The id of the containing guild
- Definition Classes
- ThreadGuildChannel → GuildChannel → GetGuild
- val id: SnowflakeType[ThreadGuildChannel]
The id of the channel
The id of the channel
- Definition Classes
- ThreadGuildChannel → TextGuildChannel → TextChannel → GuildChannel → Channel
- val invitable: Option[Boolean]
- 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
- 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
- ThreadGuildChannel → TextChannel
- def lastPinTimestamp: Option[OffsetDateTime]
When the last pinned message was pinned.
When the last pinned message was pinned.
- Definition Classes
- ThreadGuildChannel → TextGuildChannel
- val locked: Boolean
- val member: Option[ThreadMember]
- val memberCount: Int
- 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
- val messageCount: Int
- val name: String
The name of this channel
The name of this channel
- Definition Classes
- ThreadGuildChannel → GuildChannel
- def nsfw: Boolean
If this channel is marked as NSFW.
If this channel is marked as NSFW.
- Definition Classes
- ThreadGuildChannel → GuildChannel
- val ownerId: UserId
- val parentChannelId: TextGuildChannelId
- def parentId: Option[TextGuildChannelId]
The id of the category this channel is in.
The id of the category this channel is in.
- Definition Classes
- ThreadGuildChannel → GuildChannel
- def permissionOverwrites: SnowflakeMap[UserOrRole, PermissionOverwrite]
The permission overwrites for this channel
The permission overwrites for this channel
- Definition Classes
- ThreadGuildChannel → GuildChannel
- def position: Int
The position of this channel
The position of this channel
- Definition Classes
- ThreadGuildChannel → GuildChannel
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- 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
- ThreadGuildChannel → TextGuildChannel
- def topic: Option[String]
The topic for this channel.
The topic for this channel.
- Definition Classes
- ThreadGuildChannel → TextGuildChannel