TemplateProps
Properties for defining a Template.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-paiplugin-template
Initializer
using AlibabaCloud.SDK.ROS.CDK.Paiplugin;
new TemplateProps {
object Content,
object Description,
object Name,
object Type,
object Signature = null,
object SignatureId = null
};
Properties
| Name | Type | Description |
|---|---|---|
Content |
object |
Property content: The content of the template. |
Description |
object |
Property description: For the template content, please keep the total word count within 70 words. |
Name |
object |
Property name: The name of the template. |
Type |
object |
Property type: The type of the template. |
Signature |
object |
Property signature: The name of the Signature, You must select either Signature or SignatureId, but not both. |
SignatureId |
object |
Property signatureId: The ID of the Signature, You must select either Signature or SignatureId, but not both. |
ContentRequired
public object Content { get; set; }
- Type: object
Property content: The content of the template.
DescriptionRequired
public object Description { get; set; }
- Type: object
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.
NameRequired
public object Name { get; set; }
- Type: object
Property name: The name of the template.
TypeRequired
public object Type { get; set; }
- Type: object
Property type: The type of the template.
The following values are supported: 0: Verification code. 1: SMS notification. 2: Promotional SMS.
SignatureOptional
public object Signature { get; set; }
- Type: object
Property signature: The name of the Signature, You must select either Signature or SignatureId, but not both.
SignatureIdOptional
public object SignatureId { get; set; }
- Type: object
Property signatureId: The ID of the Signature, You must select either Signature or SignatureId, but not both.