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

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

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

Метод Описание
TimeoutUser ( this client, JoinedChannel channel, string viewer, System.TimeSpan duration, string message = "", bool dryRun = false ) : void

TImesout a user in chat using a JoinedChannel object.

TimeoutUser ( this client, string viewer, System.TimeSpan duration, string message = "", bool dryRun = false ) : void

Timesout a user using the first joined channel.

TimeoutUser ( this client, string channel, string viewer, System.TimeSpan duration, string message = "", bool dryRun = false ) : void

Timesout a user in chat using a string for the channel.

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

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

TImesout a user in chat using a JoinedChannel object.
public static TimeoutUser ( this client, JoinedChannel channel, string viewer, System.TimeSpan duration, string message = "", bool dryRun = false ) : void
client this
channel TwitchLib.Models.Client.JoinedChannel Channel object to send timeout to
viewer string Viewer name to timeout
duration System.TimeSpan Duration of the timeout via TimeSpan object
message string Message to accompany the timeout and show the user.
dryRun bool Indicates a dryrun (will not sened if true)
Результат void

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

Timesout a user using the first joined channel.
public static TimeoutUser ( this client, string viewer, System.TimeSpan duration, string message = "", bool dryRun = false ) : void
client this
viewer string Viewer name to timeout
duration System.TimeSpan Duration of the timeout via TimeSpan object
message string Message to accompany the timeout and show the user.
dryRun bool Indicates a dryrun (will not sened if true)
Результат void

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

Timesout a user in chat using a string for the channel.
public static TimeoutUser ( this client, string channel, string viewer, System.TimeSpan duration, string message = "", bool dryRun = false ) : void
client this
channel string Channel in string form to send timeout to
viewer string Viewer name to timeout
duration System.TimeSpan Duration of the timeout via TimeSpan object
message string Message to accompany the timeout and show the user.
dryRun bool Indicates a dryrun (will not sened if true)
Результат void