Skip to content

GOWA - WhatsApp REST API with support for UI, Multi Account, Webhooks, and MCP, and Chatwoot. Built with Golang for efficient memory use.

930 B
Raw Blame
package send

import "mime/multipart"

type VideoRequest struct {
	BaseRequest
	Caption        string                `json:"caption" form:"caption"`
	ReplyMessageID *string               `json:"reply_message_id" form:"reply_message_id"`
	Mentions       []string              `json:"mentions,omitempty" form:"mentions"` // Phone numbers/JIDs to mention (ghost mentions)
	Video          *multipart.FileHeader `json:"video" form:"video"`
	ViewOnce       bool                  `json:"view_once" form:"view_once"`
	Compress       bool                  `json:"compress"`
	HD             bool                  `json:"hd" form:"hd"`
	GifPlayback    bool                  `json:"gif_playback" form:"gif_playback"`
	VideoURL       *string               `json:"video_url" form:"video_url"`
	AllowReshare   bool                  `json:"allow_reshare,omitempty" form:"allow_reshare"` // status@broadcast only: let viewers reshare the status
}