Moderation

C# Methods for YouTube > Moderation

YouTubeBanUserById

Bans the selected YouTube user from the given broadcast, by ID

0.2.4
public bool YouTubeBanUserById(string userId, string broadcastId)

YouTubeBanUserByName

Bans the selected YouTube user from the given broadcast, by name

0.2.4
public bool YouTubeBanUserByName(string userName, string broadcastId)

YouTubeTimeoutUserById

Times out the selected YouTube user for the selected duration, by ID

0.2.4
public bool YouTubeTimeoutUserById(string userId, int duration, string broadcastId)

YouTubeTimeoutUserByName

Times out the selected YouTube user for the selected duration, by name

0.2.4
public bool YouTubeTimeoutUserByName(string userName, int duration, string broadcastId)