Method AddCallVendorRequestRequest
- Namespace
- OBSStudioClient.Messages
- Assembly
- OBSClient.dll
AddCallVendorRequestRequest(string, string, JsonElement?)
Adds a CallVendorRequest request to the batch.
public void AddCallVendorRequestRequest(string vendorName, string requestType, JsonElement? requestData = null)
Parameters
vendorNamestringName of the vendor to use.
requestTypestringThe request type to call.
requestDataJsonElement?Object containing appropriate request data. If omitted: {}.
Remarks
Call a request registered to a vendor.
A vendor is a unique name registered by a third-party plugin or script, which allows for custom requests and events to be added to obs-websocket. If a plugin or script implements vendor requests or events, documentation is expected to be provided with them.