v3

package
v1.18.4 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageDeleteRequest

type ImageDeleteRequest struct {
	// AdvertiserID 素材归属的广告主
	AdvertiserID uint64 `json:"advertiser_id,omitempty"`
	// ImageIDs 待删除的图片ID列表,长度范围:1 ~ 100
	ImageIDs []string `json:"image_ids,omitempty"`
}

ImageDeleteRequest 批量删除图片素材 API Request

func (ImageDeleteRequest) Encode

func (r ImageDeleteRequest) Encode() []byte

Encode implement PostRequest interface

type ImageDeleteResponse

type ImageDeleteResponse struct {
	model.BaseResponse

	Data struct {
		// FailImageIDs 操作失败的图片ID列表,不在此列表内的素材表示删除成功
		FailImageIDs []string `json:"fail_image_ids,omitempty"`
	} `json:"data,omitempty"`
}

ImageDeleteResponse 批量删除图片素材 API Response

Jump to

Keyboard shortcuts

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