ResolvedChannel
class ResolvedChannel(val data: ChannelData, val kord: Kord, val strategy: EntitySupplyStrategy<*> = kord.resources.defaultStrategy) : Channel(source)
Constructors
Link copied to clipboard
constructor(data: ChannelData, kord: Kord, strategy: EntitySupplyStrategy<*> = kord.resources.defaultStrategy)
Properties
Link copied to clipboard
Link copied to clipboard
The flags of this channel, if present.
Link copied to clipboard
This channel formatted as a mention as used by the Discord API.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The supplier used to request entities.
Link copied to clipboard
The type of this channel.
Functions
Link copied to clipboard
Requests to get the Channel represented by this ChannelBehavior.
Link copied to clipboard
Requests to get the Channel represented by this ChannelBehavior, returns null if the Channel isn't present.
Link copied to clipboard
Requests to get this behavior as a Channel, returns null if the channel isn't present.
Link copied to clipboard
Retrieve the Channel associated with this behaviour from the provided EntitySupplier
Link copied to clipboard
Retrieve the Channel associated with this behaviour from the provided EntitySupplier returns null if the Channel isn't present.
Link copied to clipboard
fun Channel.live(coroutineScope: CoroutineScope = kord + SupervisorJob(kord.coroutineContext.job)): LiveChannel
inline fun Channel.live(coroutineScope: CoroutineScope = kord + SupervisorJob(kord.coroutineContext.job), block: LiveChannel.() -> Unit): LiveChannel
Link copied to clipboard