Enables scripted content fragments to use ReplyMessages
Methods
Create
Creates a new reply message
Velocity
#set($replyMessageResponse = $core_v2_replyMessage.Create($parentMessageId, $messageBody))
JavaScript
var replyMessageResponse = core_v2_replyMessage.Create(parentMessageId, messageBody);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
parentMessageId | Guid | Parent Message Id | Required | ||
messageBody | String | Message Body | Required |
Returns
Delete
Deletes a reply message
Velocity
#set($additionalInfoResponse = $core_v2_replyMessage.Delete($messageId, $parentMessageId))
JavaScript
var additionalInfoResponse = core_v2_replyMessage.Delete(messageId, parentMessageId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
messageId | Guid | Message Id | Required | ||
parentMessageId | Guid | Parent Message Id | Required |