ChannelFeatures

data class ChannelFeatures(features: Set<Feature>)

Subset of Bolt 9 features used to configure a channel and applicable over the lifetime of that channel. Even if one of these features is later disabled at the connection level, it will still apply to the channel until the channel is upgraded or closed.

Constructors

ChannelFeatures
Link copied to clipboard
common
fun ChannelFeatures(features: Set<Feature>)

Functions

hasFeature
Link copied to clipboard
common
fun hasFeature(feature: Feature): Boolean
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

channelType
Link copied to clipboard
common
val channelType: ChannelType.SupportedChannelType
features
Link copied to clipboard
common
val features: Set<Feature>