GuildForumChannelImpl

class GuildForumChannelImpl(val yde: YDE, val json: JsonNode, val idAsLong: Long) : GuildChannelImpl, GuildForumChannel(source)

Constructors

Link copied to clipboard
constructor(yde: YDE, json: JsonNode, idAsLong: Long)

Functions

Link copied to clipboard
open fun format(format: String): String

Formats the name of the entity

Link copied to clipboard
open override fun formatTo(formatter: Formatter?, flags: Int, width: Int, precision: Int)

Formats the object using the provided {@link Formatter formatter}.

Properties

Link copied to clipboard
open val asIncrement: Long

The increment of this snowflake.

Link copied to clipboard
open val asProcessId: Long

The process id of this snowflake.

Link copied to clipboard
open val asTimestamp: Long

The timestamp of this snowflake. (Milliseconds since Discord Epoch, the first second of 2015 or 1420070400000.)

Link copied to clipboard
open val asWorkerId: Long

The worker id of this snowflake.

Link copied to clipboard
open override var availableForumTags: List<ForumTag>

The list of available forum tags of this channel.

Link copied to clipboard

The list of available forum tags ids of this channel.

Link copied to clipboard
open override var channelFlags: ChannelFlag

The channel flags of this channel.

Link copied to clipboard

The channel getter which gives access to the channels.

Link copied to clipboard

The default forum layout view used to display posts in GUILD_FORUM channels. Defaults to 0, which indicates a layout view has not been set by a channel admin.

Link copied to clipboard
open override var defaultRateLimitPerUser: Int

The default rate limit per user of this channel.

Link copied to clipboard

The default reaction Emoji of this channel.

Link copied to clipboard
open override var defaultSortOrder: Int?

The default sort order of this channel.

Link copied to clipboard
abstract val guild: Guild

The guild of this channel.

Link copied to clipboard

The channel getter which gives access to the channels of this guild.

Link copied to clipboard
open val id: String

The id of this snowflake as a String.

Link copied to clipboard
open override val idAsLong: Long

The id of this snowflake as a Long.

Link copied to clipboard

Creates an invitation for this channel.

Link copied to clipboard
abstract val isDmChannel: Boolean

Weather the channel is a dm channel.

Link copied to clipboard
abstract val isGuildChannel: Boolean

Weather the channel is a guild channel.

Link copied to clipboard
open override val json: JsonNode

The json representation of this entity.

Link copied to clipboard
open override var lastMessageId: GetterSnowFlake?

The last message id of this channel.

Link copied to clipboard
abstract var name: String
Link copied to clipboard
open override var nsfw: Boolean

Whether this channel is nsfw.

Link copied to clipboard
abstract var parent: GuildCategory?

The parent of this channel.

Link copied to clipboard

The permission overwrites of this channel.

Link copied to clipboard
abstract var position: Int

The position of this channel.

Link copied to clipboard
open override var rateLimitPerUser: Int

The rate limit per user of this channel.

Link copied to clipboard
open override var template: String?

The template of this channel.

Link copied to clipboard
open override var topic: String?

The topic of this channel.

Link copied to clipboard
abstract val type: ChannelType

Get the channel type.

Link copied to clipboard
open override val yde: YDE

The main YDE instance.