Documentation ¶
Index ¶
- type SmsTemplateApplyParam
- type SmsTemplateApplyRequest
- func (c *SmsTemplateApplyRequest) Execute(accessToken *doudian_sdk.AccessToken) (*sms_template_apply_response.SmsTemplateApplyResponse, error)
- func (c *SmsTemplateApplyRequest) GetParamObject() interface{}
- func (c *SmsTemplateApplyRequest) GetParams() *SmsTemplateApplyParam
- func (c *SmsTemplateApplyRequest) GetUrlPath() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SmsTemplateApplyParam ¶
type SmsTemplateApplyParam struct { // 短信发送渠道,主要做资源隔离 SmsAccount string `json:"sms_account"` // CN_NTC 国内通知短信 CN_MKT 国内营销短信(营销短信将自带退订功能) CN_OTP 国内验证码 TemplateType string `json:"template_type"` // 短信模板名称 TemplateName string `json:"template_name"` // 短信模板内容: 英文短信:整条短信(包括签名+模板+变量中的内容)最多支持140个英文字符,超出将按140个字符截取为多条短信进行发送,费用按截取的条数收费; 非英文短信:整条短信(包括签名+模板+变量中的内容)最多支持70字符,超出将按70个字符截取为多条短信进行发送,费用按截取的条数收费; TemplateContent string `json:"template_content"` }
type SmsTemplateApplyRequest ¶
type SmsTemplateApplyRequest struct { doudian_sdk.BaseDoudianOpApiRequest Param *SmsTemplateApplyParam }
func New ¶
func New() *SmsTemplateApplyRequest
func (*SmsTemplateApplyRequest) Execute ¶
func (c *SmsTemplateApplyRequest) Execute(accessToken *doudian_sdk.AccessToken) (*sms_template_apply_response.SmsTemplateApplyResponse, error)
func (*SmsTemplateApplyRequest) GetParamObject ¶
func (c *SmsTemplateApplyRequest) GetParamObject() interface{}
func (*SmsTemplateApplyRequest) GetParams ¶
func (c *SmsTemplateApplyRequest) GetParams() *SmsTemplateApplyParam
func (*SmsTemplateApplyRequest) GetUrlPath ¶
func (c *SmsTemplateApplyRequest) GetUrlPath() string
Click to show internal directories.
Click to hide internal directories.