# sendingMessageViaService
State Resource
This is a State Resource as provided by the tymly-gov-uk-notify-plugin plugin.
# Purpose
Sending Mail or SMS via GOV UK Notify Service
# Usage
# Example
{
"SendingMailViaService": {
"Type": "Task",
"Resource": "module:sendingMessageViaService",
"ResourceConfig": {
"templateId": "49bd6ec4-cd8c-4859-b817-80b2385d071e",
"messageType": "mail"
}
}
}
# Options
# Optional properties
# templateId
The ID of the template for the message.
- Type:
string
# messageType
The type of message to be sent (sms or mail).
- Type:
string