Warn User

Warn a Twitch user
Preview
Preview

Parameters

User Loginrequired
String

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

Reason
String

warn reason

Variables

The following variables will be populated after executing this sub-action:

Description
warnedResultbool

indicator whether the warning has been successful or not

Example: True/False
warnedUserstring

display name of the warned user

Example: PewDiePie
warnedUserIdstring

ID of the warned user

Example: 12345678
warnedUserNamestring

login name of the warned user

Example: pewdiepie
warnedUserTypestring

platform of the warned user

Example: twitch

C# Usage

Warns specified Twitch user for the given reason

0.2.4
public bool TwitchWarnUser(string userName, string reason)