Skip to main content

ban-enabling-properties

timeoutInMinutes

The default timeout in minutes until the ban is automatically expired.

public var timeoutInMinutes: Int? 

reason

The default reason the ban was created.

public var reason: String? 

Methods

isEnabled(for:)

Returns true is the ban is enabled for the channel.

public func isEnabled(for channel: ChatChannel) -> Bool 

Parameters

Did you find this page helpful?