C# Класс TwitchLib.Extensions.Client.SlowModeExt

Показать файл Открыть проект

Открытые методы

Метод Описание
SlowModeOff ( this client ) : void

Disables slow mode.

SlowModeOff ( this client, string channel ) : void

Disables slow mode.

SlowModeOn ( this client, JoinedChannel channel, System.TimeSpan messageCooldown ) : void

Enables slow mode. messageCooldown must be less than 1 day.

SlowModeOn ( this client, System.TimeSpan messageCooldown ) : void

Enables slow mode. messageCooldown must be less than 1 day.

SlowModeOn ( this client, string channel, System.TimeSpan messageCooldown ) : void

Enables slow mode. messageCooldown must be less than 1 day.

SlowModeoff ( this client, JoinedChannel channel ) : void

Disables slow mode.

Описание методов

SlowModeOff() публичный статический Метод

Disables slow mode.
public static SlowModeOff ( this client ) : void
client this
Результат void

SlowModeOff() публичный статический Метод

Disables slow mode.
public static SlowModeOff ( this client, string channel ) : void
client this
channel string String representation of which channel to send slowoff command to.
Результат void

SlowModeOn() публичный статический Метод

Enables slow mode. messageCooldown must be less than 1 day.
public static SlowModeOn ( this client, JoinedChannel channel, System.TimeSpan messageCooldown ) : void
client this
channel TwitchLib.Models.Client.JoinedChannel JoinedChannel representation of which channel to send the slow command to.
messageCooldown System.TimeSpan TimeSpan object representing how long message cooldowns should be. May not exceed 1 day total.
Результат void

SlowModeOn() публичный статический Метод

Enables slow mode. messageCooldown must be less than 1 day.
public static SlowModeOn ( this client, System.TimeSpan messageCooldown ) : void
client this
messageCooldown System.TimeSpan TimeSpan object representing how long message cooldowns should be. May not exceed 1 day total.
Результат void

SlowModeOn() публичный статический Метод

Enables slow mode. messageCooldown must be less than 1 day.
public static SlowModeOn ( this client, string channel, System.TimeSpan messageCooldown ) : void
client this
channel string String representation of which channel to send the slow command to.
messageCooldown System.TimeSpan TimeSpan object representing how long message cooldowns should be. May not exceed 1 day total.
Результат void

SlowModeoff() публичный статический Метод

Disables slow mode.
public static SlowModeoff ( this client, JoinedChannel channel ) : void
client this
channel TwitchLib.Models.Client.JoinedChannel JoinedChannel representation of which channel to send slowoff command to.
Результат void