Warn User
Warn a Twitch user

Warn User Dialog
Parameters
User Login
String required
can be a user name or a variable like %userName%
Reason
String
warn reason
Variables
Name | Type | Description |
---|---|---|
Example Value: True/False indicator whether the warning has been successful or not | ||
Example Value: GenericUser display name of the warned user | ||
Example Value: 12345678 ID of the warned user | ||
Example Value: genericuser login name of the warned user | ||
Example Value: twitch platform of the warned user |
C# Usage
Warns specified Twitch user for the given reason
0.2.4
public bool TwitchWarnUser(string userName, string reason)
userNamestring required reasonstring required
CPH.TwitchWarnUser(userName, reason);