Warn User

Warn a Twitch user
Warn User Dialog
Warn User Dialog

Parameters

User Login
String required

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

Reason
String

warn reason

Variables

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

 
Variables generated by all triggers and available within all action executions.

C# Usage

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