DeletedThreadChannel

class DeletedThreadChannel(val data: ChannelData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : Strategizable(source)

Constructors

Link copied to clipboard
constructor(data: ChannelData, kord: Kord, supplier: EntitySupplier = kord.defaultSupplier)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val kord: Kord
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val supplier: EntitySupplier

The supplier used to request entities.

Link copied to clipboard

Functions

Link copied to clipboard
suspend fun getGuild(): Guild

Requests to get this channel's Guild.

Link copied to clipboard
suspend fun getGuildOrNull(): Guild?

Requests to get this channel's Guild, returns null if the guild isn't present.

Link copied to clipboard

Requests to get this channel's ThreadParentChannel.

Link copied to clipboard

Requests to get this channel's ThreadParentChannel, returns null if the thread parent isn't present.

Link copied to clipboard
open override fun withStrategy(strategy: EntitySupplyStrategy<*>): DeletedThreadChannel

Returns a copy of this class with a new supplier provided by the strategy.