Broadcast

C# Methods for YouTube > Broadcast

YouTubeAddTags

Add tags for a specific YouTube broadcast with the given ID

0.2.4
public bool YouTubeAddTags(List<string> tags, string broadcastId)

YouTubeClearTags

Clears all tags for a specific YouTube broadcast with the given ID

0.2.4
public bool YouTubeClearTags(string broadcastId)

YouTubeGetLatestMonitoredBroadcast

Retrieves 'Broadcast Information' on the most recently monitored YouTube broadcast.

0.2.4
public YouTubeBroadcastInfo YouTubeGetLatestMonitoredBroadcast()

YouTubeGetMonitoredBroadcasts

Retrieves 'Broadcast Information' on all currently monitored YouTube broadcasts.

0.2.4
public List<YouTubeBroadcastInfo> YouTubeGetMonitoredBroadcasts()

YouTubeRemoveTags

Remove selected tags for a specific YouTube broadcast with the given ID

0.2.4
public bool YouTubeRemoveTags(List<string> tags, string broadcastId)

YouTubeSetCategory

Sets the YouTube category for the selected broadcast

0.2.4
public bool YouTubeSetCategory(string categoryName, string broadcastId)

YouTubeSetDescription

Sets the YouTube description for the selected broadcast

0.2.4
public bool YouTubeSetDescription(string description, string broadcastId)

YouTubeSetMetaData

Sets the YouTube meta data for the selected broadcast

0.2.4
public bool YouTubeSetMetaData(string title, string description, string privacy, string categoryName, string broadcastId)

YouTubeSetPrivacy

Updates the privacy setting of the specified YouTube broadcast

0.2.4
public bool YouTubeSetPrivacy(string privacy, string broadcastId)

YouTubeSetTitle

Sets the YouTube title for the selected broadcast

0.2.4
public bool YouTubeSetTitle(string title, string broadcastId)

SendYouTubeMessage

public void SendYouTubeMessage(string message, bool bot = true, string broadcastId)

SendYouTubeMessageToLatestMonitored

Sends a chat message to the most recently monitored YouTube broadcast

0.2.4
public void SendYouTubeMessageToLatestMonitored(string message, bool bot = true)

GetYouTubeUsersVar<T>

public List<UserVariableValue<T>> GetYouTubeUsersVar<T>(string varName, bool persisted = true)

GetYouTubeUserVar<T>

public T GetYouTubeUserVar<T>(string userName, string varName, bool persisted = true)

GetYouTubeUserVarById<T>

public T GetYouTubeUserVarById<T>(string userId, string varName, bool persisted = true)

IncrementAllYouTubeUsersVar

Increments the value of a specific user global variable for all YouTube users

0.2.4
public void IncrementAllYouTubeUsersVar(string varName, object value, bool persisted = true)

IncrementOrCreateYouTubeUsersVarById

Increments the value of a specific user global variable for a specified YouTube user, by ID. If the variable doesn't exist, it creates a new one

0.2.4
public void IncrementOrCreateYouTubeUsersVarById(List<string> userIds, string varName, object value, bool persisted = true)

IncrementYouTubeUsersVarById

Increments the value of a specific user global variable for specified YouTube user, by ID

0.2.4
public void IncrementYouTubeUsersVarById(List<string> userIds, string varName, object value, bool persisted = true)

SetYouTubeUsersVarById

public void SetYouTubeUsersVarById(List<string> userIds, string varName, object value, bool persisted = true)

SetYouTubeUserVar

public void SetYouTubeUserVar(string userName, string varName, object value, bool persisted = true)

SetYouTubeUserVarById

public void SetYouTubeUserVarById(string userId, string varName, object value, bool persisted = true)

UnsetYouTubeUser

public void UnsetYouTubeUser(string userName, bool persisted = true)

UnsetYouTubeUserById

public void UnsetYouTubeUserById(string userId, bool persisted = true)

UnsetYouTubeUserVar

public void UnsetYouTubeUserVar(string userName, string varName, bool persisted = true)

UnsetYouTubeUserVarById

public void UnsetYouTubeUserVarById(string userId, string varName, bool persisted = true)

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)

YouTubeGetBot

Returns user info for the YouTube bot account (if one exists)

0.2.4
public YouTubeUserInfo YouTubeGetBot()

YouTubeGetBroadcaster

Returns the user info for the YouTube broadcaster

0.2.4
public YouTubeUserInfo YouTubeGetBroadcaster()