MarkWhatsAppUserAsOptedIn

Description

Activity for marking user as opted in


DocsMarshal Connection

Orchestrator InArgument<IManager>

The orchestrator object represents the connection to a DocsMarshal installation.

If this argument is left null the activity will work on the running installation. To work on another installation you must get its orchestrator by the activity DatabaseOrchestrator.

Hub

HubExternalId InArgument<String>

The externalId of the hub to use. If no hub is provided it will be used the one configurated in the GlobalConfiguration or if there is only one hub it will be used.

IdHub InArgument<Guid?>

The id of the hub to use. If no hub is provided it will be used the one configurated in the GlobalConfiguration or if there is only one hub it will be used.


Input

User InArgument<String> REQUIRED

The user's WhatsApp number (The number must start with the national prefix)


Options

Timeout InArgument<TimeSpan>

Gets or sets the seconds to wait before the request times out.


Output

Result OutArgument<Boolean> REQUIRED

The opt-in's request result