JoinRulesEventContent

@Serializable
data class JoinRulesEventContent(val joinRule: JoinRulesEventContent.JoinRule, val allow: Set<JoinRulesEventContent.AllowCondition>? = null, val externalUrl: String? = null) : StateEventContent

See also

Constructors

Link copied to clipboard
constructor(joinRule: JoinRulesEventContent.JoinRule, allow: Set<JoinRulesEventContent.AllowCondition>? = null, externalUrl: String? = null)

Types

Link copied to clipboard
@Serializable
data class AllowCondition(val roomId: RoomId, val type: JoinRulesEventContent.AllowCondition.AllowConditionType)
Link copied to clipboard
sealed interface JoinRule

Properties

Link copied to clipboard
@SerialName(value = "allow")
val allow: Set<JoinRulesEventContent.AllowCondition>?
Link copied to clipboard
@SerialName(value = "external_url")
open override val externalUrl: String?
Link copied to clipboard
@SerialName(value = "join_rule")
val joinRule: JoinRulesEventContent.JoinRule