sms_batchSend_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 SmsBatchSendParam

type SmsBatchSendParam struct {
	// 短信发送渠道,主要做资源隔离
	SmsAccount string `json:"sms_account"`
	// 短信签名
	Sign string `json:"sign"`
	// 短信列表
	SmsMessageList []SmsMessageListItem `json:"sms_message_list"`
	// 短信模板id
	TemplateId string `json:"template_id"`
	// 透传字段,回执的时候原样返回给调用方,最大长度512字符
	Tag *string `json:"tag"`
	// 用户自定义扩展码,仅当允许自定义扩展码的时候生效
	UserExtCode *string `json:"user_ext_code"`
}

type SmsBatchSendRequest

type SmsBatchSendRequest struct {
	doudian_sdk.BaseDoudianOpApiRequest
	Param *SmsBatchSendParam
}

func New

func New() *SmsBatchSendRequest

func (*SmsBatchSendRequest) Execute

func (c *SmsBatchSendRequest) Execute(accessToken *doudian_sdk.AccessToken) (*sms_batchSend_response.SmsBatchSendResponse, error)

func (*SmsBatchSendRequest) GetParamObject

func (c *SmsBatchSendRequest) GetParamObject() interface{}

func (*SmsBatchSendRequest) GetParams

func (c *SmsBatchSendRequest) GetParams() *SmsBatchSendParam

func (*SmsBatchSendRequest) GetUrlPath

func (c *SmsBatchSendRequest) GetUrlPath() string

type SmsMessageListItem

type SmsMessageListItem struct {
	// 既支持手机号明文,又支持手机号密文
	PostTel string `json:"post_tel"`
	// 参数
	TemplateParam string `json:"template_param"`
}

Jump to

Keyboard shortcuts

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