TemplateProps
Properties for defining a Template
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-template
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpaiplugin"
&alicloudroscdkpaiplugin.TemplateProps {
Content: interface{},
Description: interface{},
Name: interface{},
Type: interface{},
Signature: interface{},
SignatureId: interface{},
}
Properties
Name | Type | Description |
---|---|---|
Content |
interface{} |
Property content: The content of the template. |
Description |
interface{} |
Property description: For the template content, please keep the total word count within 70 words. |
Name |
interface{} |
Property name: The name of the template. |
Type |
interface{} |
Property type: The type of the template. |
Signature |
interface{} |
Property signature: The name of the Signature, You must select either Signature or SignatureId, but not both. |
SignatureId |
interface{} |
Property signatureId: The ID of the Signature, You must select either Signature or SignatureId, but not both. |
Content
Required
Content interface{}
- Type: interface{}
Property content: The content of the template.
Description
Required
Description interface{}
- Type: interface{}
Property description: For the template content, please keep the total word count within 70 words.
The excess will be charged as long text messages. Each text message is recorded as 67 words.
Name
Required
Name interface{}
- Type: interface{}
Property name: The name of the template.
Type
Required
Type interface{}
- Type: interface{}
Property type: The type of the template.
The following values are supported: 0: Verification code. 1: SMS notification. 2: Promotional SMS.
Signature
Optional
Signature interface{}
- Type: interface{}
Property signature: The name of the Signature, You must select either Signature or SignatureId, but not both.
SignatureId
Optional
SignatureId interface{}
- Type: interface{}
Property signatureId: The ID of the Signature, You must select either Signature or SignatureId, but not both.