Types/OBS.GetInputList.Response/Play.ps1

<#
.SYNOPSIS
    Plays an input
.DESCRIPTION
    Sends a "Play" message to an input.
.LINK
    Send-OBSTriggerMediaInputAction
#>

param(
# If set, will return the message instead of sending it now.
[switch]
$PassThru
)

$this | Send-OBSTriggerMediaInputAction -MediaAction "OBS_WEBSOCKET_MEDIA_INPUT_ACTION_PLAY" -PassThru:$PassThru