SendWhatsAppQuickReplyMessage

Description

Activity for sending WhatsApp quick reply message. A maximum of 3 options can be entered


Buttons

FirstOption InArgument<String>

The quick reply message first option.

SecondOption InArgument<String>

The quick reply message second option.

ThirdOption InArgument<String>

The quick reply message third option.


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>

The file name of media element.

MediaUrl InArgument<String>

The url of media element if type is image, audio, video, file.

MessageCaption InArgument<String>

The caption of the message.

MessageHeader InArgument<String>

The text of the message.

MessageText InArgument<String> REQUIRED

The text of the message.

MessageType EQuickReplyMessageType REQUIRED

The type of quick reply 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