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.

850 B
Raw Blame
package send

import "mime/multipart"

type ImageRequest 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)
	Image          *multipart.FileHeader `json:"image" form:"image"`
	ImageURL       *string               `json:"image_url" form:"image_url"`
	ViewOnce       bool                  `json:"view_once" form:"view_once"`
	Compress       bool                  `json:"compress"`
	HD             bool                  `json:"hd" form:"hd"`
	AllowReshare   bool                  `json:"allow_reshare,omitempty" form:"allow_reshare"` // status@broadcast only: let viewers reshare the status
}