• Get Started
  • Guide
  • API
  • Examples
  • Changelogs
  • Sub-Actions
  • Triggers
  • C# Code
  • WebSocket Server
  • HTTP Server
  • UDP Server
  • Sub-Actions
  • Triggers
References
  • C# Methods
  • C# Classes
    • YouTubeAddTags
    • YouTubeClearTags
    • YouTubeGetLatestMonitoredBroadcast
    • YouTubeGetMonitoredBroadcasts
    • YouTubeRemoveTags
    • YouTubeSetCategory
    • YouTubeSetDescription
    • YouTubeSetMetaData
    • YouTubeSetPrivacy
    • YouTubeSetTitle
    • SendYouTubeMessage
    • SendYouTubeMessageToLatestMonitored
    • GetYouTubeUserVar
    • GetYouTubeUserVarById
    • GetYouTubeUsersVar
    • IncrementAllYouTubeUsersVar
    • IncrementOrCreateYouTubeUsersVarById
    • IncrementYouTubeUsersVarById
    • SetYouTubeUserVar
    • SetYouTubeUserVarById
    • SetYouTubeUsersVarById
    • UnsetYouTubeUser
    • UnsetYouTubeUserById
    • UnsetYouTubeUserVar
    • UnsetYouTubeUserVarById
    • YouTubeBanUserById
    • YouTubeBanUserByName
    • YouTubeTimeoutUserById
    • YouTubeTimeoutUserByName
    • YouTubeGetBot
    • YouTubeGetBroadcaster
  1. API
  2. C# Code
  3. C# Methods
  4. Youtube

Youtube Ban User by Name

Signature

public bool YouTubeBanUserByName(string userName, string broadcastId)

Parameters

userName
string required

No description provided.

broadcastId
string

No description provided.

Return Type

bool

Example

CPH.YouTubeBanUserByName(userName);
CPH.YouTubeBanUserByName(userName, broadcastId);
  

On this page

  • Signature
  • Parameters
  • Return Type
  • Example

Community

  • Chat on Discord
  • Support on Patreon

Ecosystem

  • Streamer.bot
  • Speaker.bot
Made by Streamer.bot