This repository has been archived on 2024-01-17. You can view files and clone it, but cannot push or open issues or pull requests.
dlbot4/common/main.go
Cat /dev/Nulo 892af35ea3
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
usar cobalt para tiktok + subir imagenes con audio
2023-12-28 23:11:52 -03:00

27 lines
326 B
Go

package common
import (
"net/url"
)
type Responder interface {
Respond(url *url.URL) (*Uploadable, Error)
}
type Uploadable struct {
VideoUrl string
*ImagesWithAudio
Caption string
}
type ImagesWithAudio struct {
ImageUrls []string
AudioUrl string
}
type Error uint8
const (
OK Error = iota
NotValid
HadError
)