sms

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SmsSpec struct {
		AutomaticRecreditAmount             int    `json:"automaticRecreditAmount,omitempty"`
		CallBack                            string `json:"callBack,omitempty"`
		CreditThresholdForAutomaticRecredit int    `json:"creditThresholdForAutomaticRecredit,omitempty"`
		Description                         string `json:"description,omitempty"`
		SmsResponse                         struct {
			CgiUrl                   string `json:"cgiUrl,omitempty"`
			ResponseType             string `json:"responseType,omitempty"`
			Text                     string `json:"text,omitempty"`
			TrackingDefaultSmsSender string `json:"trackingDefaultSmsSender,omitempty"`
		} `json:"smsResponse,omitzero"`
		StopCallBack string `json:"stopCallBack,omitempty"`
		Templates    struct {
			CustomizedEmailMode bool   `json:"customizedEmailMode,omitempty"`
			CustomizedSmsMode   bool   `json:"customizedSmsMode,omitempty"`
			EmailBody           string `json:"emailBody,omitempty"`
			EmailFrom           string `json:"emailFrom,omitempty"`
			EmailSubject        string `json:"emailSubject,omitempty"`
			SmsBody             string `json:"smsBody,omitempty"`
		} `json:"templates,omitzero"`
	}
)

Functions

func EditSms

func EditSms(cmd *cobra.Command, args []string)

func GetSms

func GetSms(_ *cobra.Command, args []string)

func ListSms

func ListSms(_ *cobra.Command, _ []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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