tencentcloudsms

package
v0.0.0-...-9b96405 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSMSRequest

func NewSMSRequest() *tencentcloud.Request

Types

type Message

type Message struct {
	TemplateID     string
	Sign           string
	PhoneNumber    []string
	TemplateParam  []string
	SessionContext string
	ExtendCode     string
	SenderID       string
}

func NewMessage

func NewMessage() *Message

type Response

type Response struct {
	SendStatusSet []SendStatusSet
	tencentcloud.BaseResponse
}

type Result

type Result struct {
	Response Response
}

type SendStatusSet

type SendStatusSet struct {
	SerialNo       string
	PhoneNumber    string
	Fee            int
	SessionContext string
	Code           string
	Message        string
	IsoCode        string
}

type Sms

type Sms struct {
	SdkAppid string
	*tencentcloud.App
}

func (*Sms) Send

func (s *Sms) Send(msg *Message) (*Result, error)

Jump to

Keyboard shortcuts

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