Ban User
Ban a Twitch user

Ban User Dialog
Parameters
User Login
String required
can be a user name or a variable like %userName%
Reason
String
ban reason
Variables
| Name | Type | Description |
|---|---|---|
Example Value: True/Falseindicator whether the ban has been successful or not | ||
Example Value: GenericUserdisplay name of the banned user | ||
Example Value: 12345678ID of the banned user | ||
Example Value: genericuserlogin name of the banned user | ||
Example Value: twitchplatform of the banned user |
C# Usage
public bool TwitchBanUser(string userName, string reason, bool bot = false)