Timeout User
Timeout a YouTube user
Parameters
Broadcastrequired
select
What broacast to apply the ban to.
All
will aply to all broadcastsLatest
will apply to the latest broadcast monitoredVariable
uses the fixedbroadcast.id
variable to select the broadcast
User Loginrequired
string
Can be a user name or a variable like %userName%
durationrequired
int
The legnth, in seconds of the timeout
Variables
The following variables will be populated after executing this sub-action:
Description | ||
---|---|---|
bannedUser | string | Display name of the timedout user |
bannedUserId | string | ID of the timedout user |
bannedUserName | string | Login name of the timedout user |
bannedUserType | string | Platform of the timedout user Example: youtube |
timeoutResult | boolean | Indicator whether the timeout was successful or not Example: True/False |
C# Usage
Times out the selected YouTube user for the selected duration, by ID
0.2.4
public bool YouTubeTimeoutUserById(string userId, int duration, string broadcastId)
Times out the selected YouTube user for the selected duration, by name
0.2.4
public bool YouTubeTimeoutUserByName(string userName, int duration, string broadcastId)