sms_template_apply_request

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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 (*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 (*SmsTemplateApplyRequest) GetUrlPath

func (c *SmsTemplateApplyRequest) GetUrlPath() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL