SendWhatsAppFileMessage

Description

Activity for sending WhatsApp file/document message


CommunicationHub

CommunicationHubExternalId InArgument<String>

The externalId of the CommunicationHub 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.

IdCommunicationHub InArgument<Guid?>

The id of the CommunicationHub 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.


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.

Input

ContextMessageId InArgument<String>

The context message id.

Filename InArgument<String> REQUIRED

Name of the file.

Recipient InArgument<String> REQUIRED

The phone number to send the message to (The number must start with the national prefix)

Url InArgument<String> REQUIRED

Public URL of the file hosted.


Options

DisablePreview Boolean

This will enable/disable preview for media messages

Encode Boolean REQUIRED

This flag is used for sending an emoji in an Interactive List message. If the list message consists of emojis, set the encode flag to 'true'. This flag will not affect any other type of message

Timeout InArgument<TimeSpan>

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


Result

MessageId OutArgument<String> REQUIRED

The ID of submitted message