C# Class TwitchLib.Extensions.Client.TimeoutUserExt

Exibir arquivo Open project: swiftyspiffy/TwitchLib

Public Methods

Method Description
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.

Method Details

TimeoutUser() public static method

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)
return void

TimeoutUser() public static method

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)
return void

TimeoutUser() public static method

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)
return void