file

package
v1.29.6 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package file 本地推素材管理相关

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UploadTaskCreate

func UploadTaskCreate(ctx context.Context, clt *core.SDKClient, accessToken string, req *file.UploadTaskCreateRequest) (uint64, error)

UploadTaskCreate 异步上传本地推视频 将视频文件通过连山云素材服务上传后获取到视频文件链接,再将获取到的连山云视频文件url作为入参的video_url通过素材库提供的视频上传接口进行文件上传 仅支持开发者购置连山云素材服务上传生成的tos链接上传,不支持其他三方链接地址

func VideoAwemeGet

func VideoAwemeGet(ctx context.Context, clt *core.SDKClient, accessToken string, req *file.VideoAwemeGetRequest) (*file.VideoAwemeGetResult, error)

VideoAwemeGet 获取素材库视频

func VideoGet

func VideoGet(ctx context.Context, clt *core.SDKClient, accessToken string, req *file.VideoGetRequest) (*file.VideoGetResult, error)

VideoGet 获取素材库视频

func VideoUpload

func VideoUpload(ctx context.Context, clt *core.SDKClient, accessToken string, req *file.VideoUploadRequest) (*file.Video, error)

VideoUpload 上传视频

func VideoUploadTaskList

func VideoUploadTaskList(ctx context.Context, clt *core.SDKClient, accessToken string, req *file.VideoUploadTaskListRequest) ([]file.UploadTask, error)

VideoUploadTaskList 查询异步上传本地推视频结果

Types

This section is empty.

Jump to

Keyboard shortcuts

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