Warn User

Warn a Twitch user

Warn User Dialog
User Login
String required

can be a user name or a variable like %userName%

Reason
String

warn reason

NameTypeDescription
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

public bool TwitchWarnUser(string userName, string reason)
Read more in API > C# > Methods > Twitch > Moderation > Twitch Warn User