case class NormalTGuildChannel(id: ChannelId, guildId: GuildId, name: String, position: Int, permissionOverwrites: SnowflakeMap[UserOrRoleTag, PermissionOverwrite], topic: Option[String], lastMessageId: Option[MessageId], rateLimitPerUser: Option[Int], nsfw: Boolean, parentId: Option[ChannelId], lastPinTimestamp: Option[OffsetDateTime]) extends TGuildChannel with Product with Serializable
A normal text channel in a guild
- Alphabetic
- By Inheritance
- NormalTGuildChannel
- Serializable
- Serializable
- Product
- Equals
- TGuildChannel
- TChannel
- GuildChannel
- GetGuild
- Channel
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new NormalTGuildChannel(id: ChannelId, guildId: GuildId, name: String, position: Int, permissionOverwrites: SnowflakeMap[UserOrRoleTag, PermissionOverwrite], topic: Option[String], lastMessageId: Option[MessageId], rateLimitPerUser: Option[Int], nsfw: Boolean, parentId: Option[ChannelId], lastPinTimestamp: Option[OffsetDateTime])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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
-
def
channelType: ChannelType
The channel type of this channel
The channel type of this channel
- Definition Classes
- NormalTGuildChannel → Channel
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
guild(implicit snapshot: CacheSnapshot): Option[Guild]
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
- NormalTGuildChannel → GuildChannel → GetGuild
-
val
id: ChannelId
The id of the channel
The id of the channel
- Definition Classes
- NormalTGuildChannel → Channel
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
- TChannel
-
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
- NormalTGuildChannel → TChannel
-
val
lastPinTimestamp: Option[OffsetDateTime]
When the last pinned message was pinned.
When the last pinned message was pinned.
- Definition Classes
- NormalTGuildChannel → TGuildChannel
-
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
name: String
The name of this channel
The name of this channel
- Definition Classes
- NormalTGuildChannel → GuildChannel
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
nsfw: Boolean
If this channel is marked as NSFW.
If this channel is marked as NSFW.
- Definition Classes
- NormalTGuildChannel → GuildChannel
-
val
parentId: Option[ChannelId]
The id of the category this channel is in.
The id of the category this channel is in.
- Definition Classes
- NormalTGuildChannel → GuildChannel
-
val
permissionOverwrites: SnowflakeMap[UserOrRoleTag, PermissionOverwrite]
The permission overwrites for this channel
The permission overwrites for this channel
- Definition Classes
- NormalTGuildChannel → GuildChannel
-
val
position: Int
The position of this channel
The position of this channel
- Definition Classes
- NormalTGuildChannel → GuildChannel
-
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
- NormalTGuildChannel → TGuildChannel
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
topic: Option[String]
The topic for this channel.
The topic for this channel.
- Definition Classes
- NormalTGuildChannel → TGuildChannel
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()