C# Class TwitchLib.Extensions.Client.HostExt

Exibir arquivo Open project: swiftyspiffy/TwitchLib

Public Methods

Method Description
Host ( this client, JoinedChannel channel, string userToHost ) : void

Sends command to host a given channel.

Host ( this client, string userToHost ) : void

Sends command to host a given channel.

Host ( this client, string channel, string userToHost ) : void

Sends command to host a given channel.

Unhost ( this client ) : void

Sends command to unhost if a stream is being hosted.

Unhost ( this client, JoinedChannel channel ) : void

Sends command to unhost if a stream is being hosted.

Unhost ( this client, string channel ) : void

Sends command to unhost if a stream is being hosted.

Method Details

Host() public static method

Sends command to host a given channel.
public static Host ( this client, JoinedChannel channel, string userToHost ) : void
client this
channel TwitchLib.Models.Client.JoinedChannel JoinedChannel representation of which channel to send the host command to.
userToHost string The channel to be hosted.
return void

Host() public static method

Sends command to host a given channel.
public static Host ( this client, string userToHost ) : void
client this
userToHost string The channel to be hosted.
return void

Host() public static method

Sends command to host a given channel.
public static Host ( this client, string channel, string userToHost ) : void
client this
channel string String representation of which channel to send the host command to.
userToHost string The channel to be hosted.
return void

Unhost() public static method

Sends command to unhost if a stream is being hosted.
public static Unhost ( this client ) : void
client this
return void

Unhost() public static method

Sends command to unhost if a stream is being hosted.
public static Unhost ( this client, JoinedChannel channel ) : void
client this
channel TwitchLib.Models.Client.JoinedChannel JoinedChannel representation of the channel to send the unhost command to.
return void

Unhost() public static method

Sends command to unhost if a stream is being hosted.
public static Unhost ( this client, string channel ) : void
client this
channel string String representation of the channel to send the unhost command to.
return void