SendWhatsAppListMessage

Description

Activity for sending WhatsApp quick reply message. A maximum of 10 items can be entered


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.

GlobalButtonTitle InArgument<String> REQUIRED

The global button title (This button will open the list of options).

The items for options categorization

MessageBody InArgument<String> REQUIRED

The body of the message.

MessageTitle InArgument<String> REQUIRED

The title of the message.

MsgId InArgument<String> REQUIRED

The id of the message (This id will be inserted into the event payload once the user replies to the message).

Recipient InArgument<String> REQUIRED

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


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