client

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) CreateChatappTemplate

func (client *Client) CreateChatappTemplate(request *CreateChatappTemplateRequest) (_result *CreateChatappTemplateResponse, _err error)

func (*Client) CreateChatappTemplateWithOptions

func (client *Client) CreateChatappTemplateWithOptions(tmpReq *CreateChatappTemplateRequest, runtime *util.RuntimeOptions) (_result *CreateChatappTemplateResponse, _err error)

func (*Client) DeleteChatappTemplate

func (client *Client) DeleteChatappTemplate(request *DeleteChatappTemplateRequest) (_result *DeleteChatappTemplateResponse, _err error)

func (*Client) DeleteChatappTemplateWithOptions

func (client *Client) DeleteChatappTemplateWithOptions(request *DeleteChatappTemplateRequest, runtime *util.RuntimeOptions) (_result *DeleteChatappTemplateResponse, _err error)

func (*Client) GetChatappTemplateDetail

func (client *Client) GetChatappTemplateDetail(request *GetChatappTemplateDetailRequest) (_result *GetChatappTemplateDetailResponse, _err error)

func (*Client) GetChatappTemplateDetailWithOptions

func (client *Client) GetChatappTemplateDetailWithOptions(request *GetChatappTemplateDetailRequest, runtime *util.RuntimeOptions) (_result *GetChatappTemplateDetailResponse, _err error)

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) ListChatappTemplate

func (client *Client) ListChatappTemplate(request *ListChatappTemplateRequest) (_result *ListChatappTemplateResponse, _err error)

func (*Client) ListChatappTemplateWithOptions

func (client *Client) ListChatappTemplateWithOptions(tmpReq *ListChatappTemplateRequest, runtime *util.RuntimeOptions) (_result *ListChatappTemplateResponse, _err error)

func (*Client) SendChatappMassMessage added in v1.0.10

func (client *Client) SendChatappMassMessage(request *SendChatappMassMessageRequest) (_result *SendChatappMassMessageResponse, _err error)

func (*Client) SendChatappMassMessageWithOptions added in v1.0.10

func (client *Client) SendChatappMassMessageWithOptions(tmpReq *SendChatappMassMessageRequest, runtime *util.RuntimeOptions) (_result *SendChatappMassMessageResponse, _err error)

func (*Client) SendChatappMessage added in v1.0.5

func (client *Client) SendChatappMessage(request *SendChatappMessageRequest) (_result *SendChatappMessageResponse, _err error)

func (*Client) SendChatappMessageWithOptions added in v1.0.5

func (client *Client) SendChatappMessageWithOptions(tmpReq *SendChatappMessageRequest, runtime *util.RuntimeOptions) (_result *SendChatappMessageResponse, _err error)

type CreateChatappTemplateRequest

type CreateChatappTemplateRequest struct {
	Category     *string                                   `json:"Category,omitempty" xml:"Category,omitempty"`
	Components   []*CreateChatappTemplateRequestComponents `json:"Components,omitempty" xml:"Components,omitempty" type:"Repeated"`
	CustWabaId   *string                                   `json:"CustWabaId,omitempty" xml:"CustWabaId,omitempty"`
	Example      map[string]*string                        `json:"Example,omitempty" xml:"Example,omitempty"`
	IsvCode      *string                                   `json:"IsvCode,omitempty" xml:"IsvCode,omitempty"`
	Language     *string                                   `json:"Language,omitempty" xml:"Language,omitempty"`
	Name         *string                                   `json:"Name,omitempty" xml:"Name,omitempty"`
	TemplateType *string                                   `json:"TemplateType,omitempty" xml:"TemplateType,omitempty"`
}

func (CreateChatappTemplateRequest) GoString

func (s CreateChatappTemplateRequest) GoString() string

func (*CreateChatappTemplateRequest) SetCategory

func (*CreateChatappTemplateRequest) SetComponents

func (*CreateChatappTemplateRequest) SetCustWabaId added in v1.0.7

func (*CreateChatappTemplateRequest) SetExample

func (*CreateChatappTemplateRequest) SetIsvCode added in v1.0.11

func (*CreateChatappTemplateRequest) SetLanguage

func (*CreateChatappTemplateRequest) SetName

func (*CreateChatappTemplateRequest) SetTemplateType

func (CreateChatappTemplateRequest) String

type CreateChatappTemplateRequestComponents added in v1.0.6

type CreateChatappTemplateRequestComponents struct {
	Buttons  []*CreateChatappTemplateRequestComponentsButtons `json:"Buttons,omitempty" xml:"Buttons,omitempty" type:"Repeated"`
	Caption  *string                                          `json:"Caption,omitempty" xml:"Caption,omitempty"`
	FileName *string                                          `json:"FileName,omitempty" xml:"FileName,omitempty"`
	Format   *string                                          `json:"Format,omitempty" xml:"Format,omitempty"`
	Text     *string                                          `json:"Text,omitempty" xml:"Text,omitempty"`
	Type     *string                                          `json:"Type,omitempty" xml:"Type,omitempty"`
	Url      *string                                          `json:"Url,omitempty" xml:"Url,omitempty"`
}

func (CreateChatappTemplateRequestComponents) GoString added in v1.0.6

func (*CreateChatappTemplateRequestComponents) SetButtons added in v1.0.6

func (*CreateChatappTemplateRequestComponents) SetCaption added in v1.0.7

func (*CreateChatappTemplateRequestComponents) SetFileName added in v1.0.7

func (*CreateChatappTemplateRequestComponents) SetFormat added in v1.0.6

func (*CreateChatappTemplateRequestComponents) SetText added in v1.0.6

func (*CreateChatappTemplateRequestComponents) SetType added in v1.0.6

func (*CreateChatappTemplateRequestComponents) SetUrl added in v1.0.6

func (CreateChatappTemplateRequestComponents) String added in v1.0.6

type CreateChatappTemplateRequestComponentsButtons added in v1.0.6

type CreateChatappTemplateRequestComponentsButtons struct {
	PhoneNumber *string `json:"PhoneNumber,omitempty" xml:"PhoneNumber,omitempty"`
	Text        *string `json:"Text,omitempty" xml:"Text,omitempty"`
	Type        *string `json:"Type,omitempty" xml:"Type,omitempty"`
	Url         *string `json:"Url,omitempty" xml:"Url,omitempty"`
	UrlType     *string `json:"UrlType,omitempty" xml:"UrlType,omitempty"`
}

func (CreateChatappTemplateRequestComponentsButtons) GoString added in v1.0.6

func (*CreateChatappTemplateRequestComponentsButtons) SetPhoneNumber added in v1.0.6

func (*CreateChatappTemplateRequestComponentsButtons) SetText added in v1.0.6

func (*CreateChatappTemplateRequestComponentsButtons) SetType added in v1.0.6

func (*CreateChatappTemplateRequestComponentsButtons) SetUrl added in v1.0.6

func (*CreateChatappTemplateRequestComponentsButtons) SetUrlType added in v1.0.6

func (CreateChatappTemplateRequestComponentsButtons) String added in v1.0.6

type CreateChatappTemplateResponse

type CreateChatappTemplateResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateChatappTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateChatappTemplateResponse) GoString

func (*CreateChatappTemplateResponse) SetBody

func (*CreateChatappTemplateResponse) SetHeaders

func (*CreateChatappTemplateResponse) SetStatusCode added in v1.0.8

func (CreateChatappTemplateResponse) String

type CreateChatappTemplateResponseBody

type CreateChatappTemplateResponseBody struct {
	Code      *string                                `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      *CreateChatappTemplateResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	Message   *string                                `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string                                `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateChatappTemplateResponseBody) GoString

func (*CreateChatappTemplateResponseBody) SetCode

func (*CreateChatappTemplateResponseBody) SetMessage

func (*CreateChatappTemplateResponseBody) SetRequestId

func (CreateChatappTemplateResponseBody) String

type CreateChatappTemplateResponseBodyData added in v1.0.6

type CreateChatappTemplateResponseBodyData struct {
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
}

func (CreateChatappTemplateResponseBodyData) GoString added in v1.0.6

func (*CreateChatappTemplateResponseBodyData) SetTemplateCode added in v1.0.6

func (*CreateChatappTemplateResponseBodyData) SetTemplateName added in v1.0.6

func (CreateChatappTemplateResponseBodyData) String added in v1.0.6

type CreateChatappTemplateShrinkRequest added in v1.0.6

type CreateChatappTemplateShrinkRequest struct {
	Category         *string `json:"Category,omitempty" xml:"Category,omitempty"`
	ComponentsShrink *string `json:"Components,omitempty" xml:"Components,omitempty"`
	CustWabaId       *string `json:"CustWabaId,omitempty" xml:"CustWabaId,omitempty"`
	ExampleShrink    *string `json:"Example,omitempty" xml:"Example,omitempty"`
	IsvCode          *string `json:"IsvCode,omitempty" xml:"IsvCode,omitempty"`
	Language         *string `json:"Language,omitempty" xml:"Language,omitempty"`
	Name             *string `json:"Name,omitempty" xml:"Name,omitempty"`
	TemplateType     *string `json:"TemplateType,omitempty" xml:"TemplateType,omitempty"`
}

func (CreateChatappTemplateShrinkRequest) GoString added in v1.0.6

func (*CreateChatappTemplateShrinkRequest) SetCategory added in v1.0.6

func (*CreateChatappTemplateShrinkRequest) SetComponentsShrink added in v1.0.6

func (*CreateChatappTemplateShrinkRequest) SetCustWabaId added in v1.0.7

func (*CreateChatappTemplateShrinkRequest) SetExampleShrink added in v1.0.6

func (*CreateChatappTemplateShrinkRequest) SetIsvCode added in v1.0.11

func (*CreateChatappTemplateShrinkRequest) SetLanguage added in v1.0.6

func (*CreateChatappTemplateShrinkRequest) SetName added in v1.0.6

func (*CreateChatappTemplateShrinkRequest) SetTemplateType added in v1.0.6

func (CreateChatappTemplateShrinkRequest) String added in v1.0.6

type DeleteChatappTemplateRequest

type DeleteChatappTemplateRequest struct {
	CustWabaId   *string `json:"CustWabaId,omitempty" xml:"CustWabaId,omitempty"`
	IsvCode      *string `json:"IsvCode,omitempty" xml:"IsvCode,omitempty"`
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
}

func (DeleteChatappTemplateRequest) GoString

func (s DeleteChatappTemplateRequest) GoString() string

func (*DeleteChatappTemplateRequest) SetCustWabaId added in v1.0.7

func (*DeleteChatappTemplateRequest) SetIsvCode added in v1.0.11

func (*DeleteChatappTemplateRequest) SetTemplateCode

func (DeleteChatappTemplateRequest) String

type DeleteChatappTemplateResponse

type DeleteChatappTemplateResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteChatappTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteChatappTemplateResponse) GoString

func (*DeleteChatappTemplateResponse) SetBody

func (*DeleteChatappTemplateResponse) SetHeaders

func (*DeleteChatappTemplateResponse) SetStatusCode added in v1.0.8

func (DeleteChatappTemplateResponse) String

type DeleteChatappTemplateResponseBody

type DeleteChatappTemplateResponseBody struct {
	Code      *string `json:"Code,omitempty" xml:"Code,omitempty"`
	Message   *string `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteChatappTemplateResponseBody) GoString

func (*DeleteChatappTemplateResponseBody) SetCode

func (*DeleteChatappTemplateResponseBody) SetMessage

func (*DeleteChatappTemplateResponseBody) SetRequestId

func (DeleteChatappTemplateResponseBody) String

type GetChatappTemplateDetailRequest

type GetChatappTemplateDetailRequest struct {
	CustWabaId   *string `json:"CustWabaId,omitempty" xml:"CustWabaId,omitempty"`
	IsvCode      *string `json:"IsvCode,omitempty" xml:"IsvCode,omitempty"`
	Language     *string `json:"Language,omitempty" xml:"Language,omitempty"`
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
}

func (GetChatappTemplateDetailRequest) GoString

func (*GetChatappTemplateDetailRequest) SetCustWabaId added in v1.0.7

func (*GetChatappTemplateDetailRequest) SetIsvCode added in v1.0.11

func (*GetChatappTemplateDetailRequest) SetLanguage

func (*GetChatappTemplateDetailRequest) SetTemplateCode

func (GetChatappTemplateDetailRequest) String

type GetChatappTemplateDetailResponse

type GetChatappTemplateDetailResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetChatappTemplateDetailResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetChatappTemplateDetailResponse) GoString

func (*GetChatappTemplateDetailResponse) SetHeaders

func (*GetChatappTemplateDetailResponse) SetStatusCode added in v1.0.8

func (GetChatappTemplateDetailResponse) String

type GetChatappTemplateDetailResponseBody

type GetChatappTemplateDetailResponseBody struct {
	Code      *string                                   `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      *GetChatappTemplateDetailResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	Message   *string                                   `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string                                   `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetChatappTemplateDetailResponseBody) GoString

func (*GetChatappTemplateDetailResponseBody) SetCode

func (*GetChatappTemplateDetailResponseBody) SetMessage

func (*GetChatappTemplateDetailResponseBody) SetRequestId

func (GetChatappTemplateDetailResponseBody) String

type GetChatappTemplateDetailResponseBodyData added in v1.0.6

type GetChatappTemplateDetailResponseBodyData struct {
	AuditStatus  *string                                               `json:"AuditStatus,omitempty" xml:"AuditStatus,omitempty"`
	Category     *string                                               `json:"Category,omitempty" xml:"Category,omitempty"`
	Components   []*GetChatappTemplateDetailResponseBodyDataComponents `json:"Components,omitempty" xml:"Components,omitempty" type:"Repeated"`
	Example      map[string]*string                                    `json:"Example,omitempty" xml:"Example,omitempty"`
	Language     *string                                               `json:"Language,omitempty" xml:"Language,omitempty"`
	Name         *string                                               `json:"Name,omitempty" xml:"Name,omitempty"`
	TemplateCode *string                                               `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
}

func (GetChatappTemplateDetailResponseBodyData) GoString added in v1.0.6

func (*GetChatappTemplateDetailResponseBodyData) SetAuditStatus added in v1.0.6

func (*GetChatappTemplateDetailResponseBodyData) SetCategory added in v1.0.6

func (*GetChatappTemplateDetailResponseBodyData) SetComponents added in v1.0.6

func (*GetChatappTemplateDetailResponseBodyData) SetExample added in v1.0.6

func (*GetChatappTemplateDetailResponseBodyData) SetLanguage added in v1.0.6

func (*GetChatappTemplateDetailResponseBodyData) SetName added in v1.0.6

func (*GetChatappTemplateDetailResponseBodyData) SetTemplateCode added in v1.0.6

func (GetChatappTemplateDetailResponseBodyData) String added in v1.0.6

type GetChatappTemplateDetailResponseBodyDataComponents added in v1.0.6

type GetChatappTemplateDetailResponseBodyDataComponents struct {
	Buttons  []*GetChatappTemplateDetailResponseBodyDataComponentsButtons `json:"Buttons,omitempty" xml:"Buttons,omitempty" type:"Repeated"`
	Caption  *string                                                      `json:"Caption,omitempty" xml:"Caption,omitempty"`
	FileName *string                                                      `json:"FileName,omitempty" xml:"FileName,omitempty"`
	Format   *string                                                      `json:"Format,omitempty" xml:"Format,omitempty"`
	Text     *string                                                      `json:"Text,omitempty" xml:"Text,omitempty"`
	Type     *string                                                      `json:"Type,omitempty" xml:"Type,omitempty"`
	Url      *string                                                      `json:"Url,omitempty" xml:"Url,omitempty"`
}

func (GetChatappTemplateDetailResponseBodyDataComponents) GoString added in v1.0.6

func (*GetChatappTemplateDetailResponseBodyDataComponents) SetCaption added in v1.0.7

func (*GetChatappTemplateDetailResponseBodyDataComponents) SetFileName added in v1.0.7

func (*GetChatappTemplateDetailResponseBodyDataComponents) SetFormat added in v1.0.8

func (*GetChatappTemplateDetailResponseBodyDataComponents) SetText added in v1.0.6

func (*GetChatappTemplateDetailResponseBodyDataComponents) SetType added in v1.0.6

func (*GetChatappTemplateDetailResponseBodyDataComponents) SetUrl added in v1.0.6

func (GetChatappTemplateDetailResponseBodyDataComponents) String added in v1.0.6

type GetChatappTemplateDetailResponseBodyDataComponentsButtons added in v1.0.6

type GetChatappTemplateDetailResponseBodyDataComponentsButtons struct {
	PhoneNumber *string `json:"PhoneNumber,omitempty" xml:"PhoneNumber,omitempty"`
	Text        *string `json:"Text,omitempty" xml:"Text,omitempty"`
	Type        *string `json:"Type,omitempty" xml:"Type,omitempty"`
	Url         *string `json:"Url,omitempty" xml:"Url,omitempty"`
	UrlType     *string `json:"UrlType,omitempty" xml:"UrlType,omitempty"`
}

func (GetChatappTemplateDetailResponseBodyDataComponentsButtons) GoString added in v1.0.6

func (*GetChatappTemplateDetailResponseBodyDataComponentsButtons) SetPhoneNumber added in v1.0.6

func (*GetChatappTemplateDetailResponseBodyDataComponentsButtons) SetText added in v1.0.6

func (*GetChatappTemplateDetailResponseBodyDataComponentsButtons) SetType added in v1.0.6

func (*GetChatappTemplateDetailResponseBodyDataComponentsButtons) SetUrl added in v1.0.6

func (*GetChatappTemplateDetailResponseBodyDataComponentsButtons) SetUrlType added in v1.0.6

func (GetChatappTemplateDetailResponseBodyDataComponentsButtons) String added in v1.0.6

type ListChatappTemplateRequest

type ListChatappTemplateRequest struct {
	AuditStatus *string                         `json:"AuditStatus,omitempty" xml:"AuditStatus,omitempty"`
	CustWabaId  *string                         `json:"CustWabaId,omitempty" xml:"CustWabaId,omitempty"`
	IsvCode     *string                         `json:"IsvCode,omitempty" xml:"IsvCode,omitempty"`
	Language    *string                         `json:"Language,omitempty" xml:"Language,omitempty"`
	Name        *string                         `json:"Name,omitempty" xml:"Name,omitempty"`
	Page        *ListChatappTemplateRequestPage `json:"Page,omitempty" xml:"Page,omitempty" type:"Struct"`
}

func (ListChatappTemplateRequest) GoString

func (s ListChatappTemplateRequest) GoString() string

func (*ListChatappTemplateRequest) SetAuditStatus

func (*ListChatappTemplateRequest) SetCustWabaId added in v1.0.7

func (*ListChatappTemplateRequest) SetIsvCode added in v1.0.11

func (*ListChatappTemplateRequest) SetLanguage

func (*ListChatappTemplateRequest) SetName

func (*ListChatappTemplateRequest) SetPage

func (ListChatappTemplateRequest) String

type ListChatappTemplateRequestPage added in v1.0.6

type ListChatappTemplateRequestPage struct {
	Index *int32 `json:"Index,omitempty" xml:"Index,omitempty"`
	Size  *int32 `json:"Size,omitempty" xml:"Size,omitempty"`
}

func (ListChatappTemplateRequestPage) GoString added in v1.0.6

func (*ListChatappTemplateRequestPage) SetIndex added in v1.0.6

func (*ListChatappTemplateRequestPage) SetSize added in v1.0.6

func (ListChatappTemplateRequestPage) String added in v1.0.6

type ListChatappTemplateResponse

type ListChatappTemplateResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListChatappTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListChatappTemplateResponse) GoString

func (s ListChatappTemplateResponse) GoString() string

func (*ListChatappTemplateResponse) SetBody

func (*ListChatappTemplateResponse) SetHeaders

func (*ListChatappTemplateResponse) SetStatusCode added in v1.0.8

func (ListChatappTemplateResponse) String

type ListChatappTemplateResponseBody

type ListChatappTemplateResponseBody struct {
	Code         *string                                        `json:"Code,omitempty" xml:"Code,omitempty"`
	ListTemplate []*ListChatappTemplateResponseBodyListTemplate `json:"ListTemplate,omitempty" xml:"ListTemplate,omitempty" type:"Repeated"`
	Message      *string                                        `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId    *string                                        `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListChatappTemplateResponseBody) GoString

func (*ListChatappTemplateResponseBody) SetCode

func (*ListChatappTemplateResponseBody) SetMessage

func (*ListChatappTemplateResponseBody) SetRequestId

func (ListChatappTemplateResponseBody) String

type ListChatappTemplateResponseBodyListTemplate

type ListChatappTemplateResponseBodyListTemplate struct {
	AuditStatus  *string `json:"AuditStatus,omitempty" xml:"AuditStatus,omitempty"`
	Category     *string `json:"Category,omitempty" xml:"Category,omitempty"`
	Language     *string `json:"Language,omitempty" xml:"Language,omitempty"`
	TemplateCode *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
	TemplateName *string `json:"TemplateName,omitempty" xml:"TemplateName,omitempty"`
}

func (ListChatappTemplateResponseBodyListTemplate) GoString

func (*ListChatappTemplateResponseBodyListTemplate) SetAuditStatus

func (*ListChatappTemplateResponseBodyListTemplate) SetCategory

func (*ListChatappTemplateResponseBodyListTemplate) SetLanguage

func (*ListChatappTemplateResponseBodyListTemplate) SetTemplateCode

func (*ListChatappTemplateResponseBodyListTemplate) SetTemplateName

func (ListChatappTemplateResponseBodyListTemplate) String

type ListChatappTemplateShrinkRequest added in v1.0.6

type ListChatappTemplateShrinkRequest struct {
	AuditStatus *string `json:"AuditStatus,omitempty" xml:"AuditStatus,omitempty"`
	CustWabaId  *string `json:"CustWabaId,omitempty" xml:"CustWabaId,omitempty"`
	IsvCode     *string `json:"IsvCode,omitempty" xml:"IsvCode,omitempty"`
	Language    *string `json:"Language,omitempty" xml:"Language,omitempty"`
	Name        *string `json:"Name,omitempty" xml:"Name,omitempty"`
	PageShrink  *string `json:"Page,omitempty" xml:"Page,omitempty"`
}

func (ListChatappTemplateShrinkRequest) GoString added in v1.0.6

func (*ListChatappTemplateShrinkRequest) SetAuditStatus added in v1.0.6

func (*ListChatappTemplateShrinkRequest) SetCustWabaId added in v1.0.7

func (*ListChatappTemplateShrinkRequest) SetIsvCode added in v1.0.11

func (*ListChatappTemplateShrinkRequest) SetLanguage added in v1.0.6

func (*ListChatappTemplateShrinkRequest) SetName added in v1.0.6

func (*ListChatappTemplateShrinkRequest) SetPageShrink added in v1.0.6

func (ListChatappTemplateShrinkRequest) String added in v1.0.6

type SendChatappMassMessageRequest added in v1.0.10

type SendChatappMassMessageRequest struct {
	ChannelType     *string                                    `json:"ChannelType,omitempty" xml:"ChannelType,omitempty"`
	CustWabaId      *string                                    `json:"CustWabaId,omitempty" xml:"CustWabaId,omitempty"`
	FallBackContent *string                                    `json:"FallBackContent,omitempty" xml:"FallBackContent,omitempty"`
	FallBackId      *string                                    `json:"FallBackId,omitempty" xml:"FallBackId,omitempty"`
	From            *string                                    `json:"From,omitempty" xml:"From,omitempty"`
	IsvCode         *string                                    `json:"IsvCode,omitempty" xml:"IsvCode,omitempty"`
	Language        *string                                    `json:"Language,omitempty" xml:"Language,omitempty"`
	SenderList      []*SendChatappMassMessageRequestSenderList `json:"SenderList,omitempty" xml:"SenderList,omitempty" type:"Repeated"`
	TaskId          *string                                    `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
	TemplateCode    *string                                    `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
}

func (SendChatappMassMessageRequest) GoString added in v1.0.10

func (*SendChatappMassMessageRequest) SetChannelType added in v1.0.10

func (*SendChatappMassMessageRequest) SetCustWabaId added in v1.0.10

func (*SendChatappMassMessageRequest) SetFallBackContent added in v1.0.10

func (*SendChatappMassMessageRequest) SetFallBackId added in v1.0.10

func (*SendChatappMassMessageRequest) SetFrom added in v1.0.10

func (*SendChatappMassMessageRequest) SetIsvCode added in v1.0.11

func (*SendChatappMassMessageRequest) SetLanguage added in v1.0.10

func (*SendChatappMassMessageRequest) SetSenderList added in v1.0.10

func (*SendChatappMassMessageRequest) SetTaskId added in v1.0.10

func (*SendChatappMassMessageRequest) SetTemplateCode added in v1.0.10

func (SendChatappMassMessageRequest) String added in v1.0.10

type SendChatappMassMessageRequestSenderList added in v1.0.10

type SendChatappMassMessageRequestSenderList struct {
	Payload        []*string          `json:"Payload,omitempty" xml:"Payload,omitempty" type:"Repeated"`
	TemplateParams map[string]*string `json:"TemplateParams,omitempty" xml:"TemplateParams,omitempty"`
	To             *string            `json:"To,omitempty" xml:"To,omitempty"`
}

func (SendChatappMassMessageRequestSenderList) GoString added in v1.0.10

func (*SendChatappMassMessageRequestSenderList) SetPayload added in v1.0.10

func (*SendChatappMassMessageRequestSenderList) SetTemplateParams added in v1.0.10

func (*SendChatappMassMessageRequestSenderList) SetTo added in v1.0.10

func (SendChatappMassMessageRequestSenderList) String added in v1.0.10

type SendChatappMassMessageResponse added in v1.0.10

type SendChatappMassMessageResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *SendChatappMassMessageResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (SendChatappMassMessageResponse) GoString added in v1.0.10

func (*SendChatappMassMessageResponse) SetBody added in v1.0.10

func (*SendChatappMassMessageResponse) SetHeaders added in v1.0.10

func (*SendChatappMassMessageResponse) SetStatusCode added in v1.0.10

func (SendChatappMassMessageResponse) String added in v1.0.10

type SendChatappMassMessageResponseBody added in v1.0.10

type SendChatappMassMessageResponseBody struct {
	Code           *string `json:"Code,omitempty" xml:"Code,omitempty"`
	GroupMessageId *string `json:"GroupMessageId,omitempty" xml:"GroupMessageId,omitempty"`
	Message        *string `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId      *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (SendChatappMassMessageResponseBody) GoString added in v1.0.10

func (*SendChatappMassMessageResponseBody) SetCode added in v1.0.10

func (*SendChatappMassMessageResponseBody) SetGroupMessageId added in v1.0.10

func (*SendChatappMassMessageResponseBody) SetMessage added in v1.0.10

func (*SendChatappMassMessageResponseBody) SetRequestId added in v1.0.10

func (SendChatappMassMessageResponseBody) String added in v1.0.10

type SendChatappMassMessageShrinkRequest added in v1.0.10

type SendChatappMassMessageShrinkRequest struct {
	ChannelType      *string `json:"ChannelType,omitempty" xml:"ChannelType,omitempty"`
	CustWabaId       *string `json:"CustWabaId,omitempty" xml:"CustWabaId,omitempty"`
	FallBackContent  *string `json:"FallBackContent,omitempty" xml:"FallBackContent,omitempty"`
	FallBackId       *string `json:"FallBackId,omitempty" xml:"FallBackId,omitempty"`
	From             *string `json:"From,omitempty" xml:"From,omitempty"`
	IsvCode          *string `json:"IsvCode,omitempty" xml:"IsvCode,omitempty"`
	Language         *string `json:"Language,omitempty" xml:"Language,omitempty"`
	SenderListShrink *string `json:"SenderList,omitempty" xml:"SenderList,omitempty"`
	TaskId           *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
	TemplateCode     *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
}

func (SendChatappMassMessageShrinkRequest) GoString added in v1.0.10

func (*SendChatappMassMessageShrinkRequest) SetChannelType added in v1.0.10

func (*SendChatappMassMessageShrinkRequest) SetCustWabaId added in v1.0.10

func (*SendChatappMassMessageShrinkRequest) SetFallBackContent added in v1.0.10

func (*SendChatappMassMessageShrinkRequest) SetFallBackId added in v1.0.10

func (*SendChatappMassMessageShrinkRequest) SetFrom added in v1.0.10

func (*SendChatappMassMessageShrinkRequest) SetIsvCode added in v1.0.11

func (*SendChatappMassMessageShrinkRequest) SetLanguage added in v1.0.10

func (*SendChatappMassMessageShrinkRequest) SetSenderListShrink added in v1.0.10

func (*SendChatappMassMessageShrinkRequest) SetTaskId added in v1.0.10

func (*SendChatappMassMessageShrinkRequest) SetTemplateCode added in v1.0.10

func (SendChatappMassMessageShrinkRequest) String added in v1.0.10

type SendChatappMessageRequest added in v1.0.5

type SendChatappMessageRequest struct {
	ChannelType     *string            `json:"ChannelType,omitempty" xml:"ChannelType,omitempty"`
	Content         *string            `json:"Content,omitempty" xml:"Content,omitempty"`
	CustWabaId      *string            `json:"CustWabaId,omitempty" xml:"CustWabaId,omitempty"`
	FallBackContent *string            `json:"FallBackContent,omitempty" xml:"FallBackContent,omitempty"`
	FallBackId      *string            `json:"FallBackId,omitempty" xml:"FallBackId,omitempty"`
	From            *string            `json:"From,omitempty" xml:"From,omitempty"`
	IsvCode         *string            `json:"IsvCode,omitempty" xml:"IsvCode,omitempty"`
	Language        *string            `json:"Language,omitempty" xml:"Language,omitempty"`
	MessageType     *string            `json:"MessageType,omitempty" xml:"MessageType,omitempty"`
	Payload         []*string          `json:"Payload,omitempty" xml:"Payload,omitempty" type:"Repeated"`
	TemplateCode    *string            `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
	TemplateParams  map[string]*string `json:"TemplateParams,omitempty" xml:"TemplateParams,omitempty"`
	To              *string            `json:"To,omitempty" xml:"To,omitempty"`
	Type            *string            `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (SendChatappMessageRequest) GoString added in v1.0.5

func (s SendChatappMessageRequest) GoString() string

func (*SendChatappMessageRequest) SetChannelType added in v1.0.5

func (*SendChatappMessageRequest) SetContent added in v1.0.5

func (*SendChatappMessageRequest) SetCustWabaId added in v1.0.7

func (*SendChatappMessageRequest) SetFallBackContent added in v1.0.9

func (*SendChatappMessageRequest) SetFallBackId added in v1.0.9

func (*SendChatappMessageRequest) SetFrom added in v1.0.5

func (*SendChatappMessageRequest) SetIsvCode added in v1.0.11

func (*SendChatappMessageRequest) SetLanguage added in v1.0.5

func (*SendChatappMessageRequest) SetMessageType added in v1.0.5

func (*SendChatappMessageRequest) SetPayload added in v1.0.5

func (*SendChatappMessageRequest) SetTemplateCode added in v1.0.5

func (*SendChatappMessageRequest) SetTemplateParams added in v1.0.5

func (s *SendChatappMessageRequest) SetTemplateParams(v map[string]*string) *SendChatappMessageRequest

func (*SendChatappMessageRequest) SetTo added in v1.0.5

func (*SendChatappMessageRequest) SetType added in v1.0.5

func (SendChatappMessageRequest) String added in v1.0.5

func (s SendChatappMessageRequest) String() string

type SendChatappMessageResponse added in v1.0.5

type SendChatappMessageResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *SendChatappMessageResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (SendChatappMessageResponse) GoString added in v1.0.5

func (s SendChatappMessageResponse) GoString() string

func (*SendChatappMessageResponse) SetBody added in v1.0.5

func (*SendChatappMessageResponse) SetHeaders added in v1.0.5

func (*SendChatappMessageResponse) SetStatusCode added in v1.0.8

func (SendChatappMessageResponse) String added in v1.0.5

type SendChatappMessageResponseBody added in v1.0.5

type SendChatappMessageResponseBody struct {
	Code      *string `json:"Code,omitempty" xml:"Code,omitempty"`
	Message   *string `json:"Message,omitempty" xml:"Message,omitempty"`
	MessageId *string `json:"MessageId,omitempty" xml:"MessageId,omitempty"`
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (SendChatappMessageResponseBody) GoString added in v1.0.5

func (*SendChatappMessageResponseBody) SetCode added in v1.0.5

func (*SendChatappMessageResponseBody) SetMessage added in v1.0.5

func (*SendChatappMessageResponseBody) SetMessageId added in v1.0.6

func (*SendChatappMessageResponseBody) SetRequestId added in v1.0.5

func (SendChatappMessageResponseBody) String added in v1.0.5

type SendChatappMessageShrinkRequest added in v1.0.6

type SendChatappMessageShrinkRequest struct {
	ChannelType          *string `json:"ChannelType,omitempty" xml:"ChannelType,omitempty"`
	Content              *string `json:"Content,omitempty" xml:"Content,omitempty"`
	CustWabaId           *string `json:"CustWabaId,omitempty" xml:"CustWabaId,omitempty"`
	FallBackContent      *string `json:"FallBackContent,omitempty" xml:"FallBackContent,omitempty"`
	FallBackId           *string `json:"FallBackId,omitempty" xml:"FallBackId,omitempty"`
	From                 *string `json:"From,omitempty" xml:"From,omitempty"`
	IsvCode              *string `json:"IsvCode,omitempty" xml:"IsvCode,omitempty"`
	Language             *string `json:"Language,omitempty" xml:"Language,omitempty"`
	MessageType          *string `json:"MessageType,omitempty" xml:"MessageType,omitempty"`
	PayloadShrink        *string `json:"Payload,omitempty" xml:"Payload,omitempty"`
	TemplateCode         *string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
	TemplateParamsShrink *string `json:"TemplateParams,omitempty" xml:"TemplateParams,omitempty"`
	To                   *string `json:"To,omitempty" xml:"To,omitempty"`
	Type                 *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (SendChatappMessageShrinkRequest) GoString added in v1.0.6

func (*SendChatappMessageShrinkRequest) SetChannelType added in v1.0.6

func (*SendChatappMessageShrinkRequest) SetContent added in v1.0.6

func (*SendChatappMessageShrinkRequest) SetCustWabaId added in v1.0.7

func (*SendChatappMessageShrinkRequest) SetFallBackContent added in v1.0.9

func (*SendChatappMessageShrinkRequest) SetFallBackId added in v1.0.9

func (*SendChatappMessageShrinkRequest) SetFrom added in v1.0.6

func (*SendChatappMessageShrinkRequest) SetIsvCode added in v1.0.11

func (*SendChatappMessageShrinkRequest) SetLanguage added in v1.0.6

func (*SendChatappMessageShrinkRequest) SetMessageType added in v1.0.6

func (*SendChatappMessageShrinkRequest) SetPayloadShrink added in v1.0.6

func (*SendChatappMessageShrinkRequest) SetTemplateCode added in v1.0.6

func (*SendChatappMessageShrinkRequest) SetTemplateParamsShrink added in v1.0.6

func (*SendChatappMessageShrinkRequest) SetTo added in v1.0.6

func (*SendChatappMessageShrinkRequest) SetType added in v1.0.6

func (SendChatappMessageShrinkRequest) String added in v1.0.6

Jump to

Keyboard shortcuts

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