whatsapp-multi-devicewhatsapp-apiwhatsapprestgolanggobotwhatsapp-web-multi-devicewhatsapp-api-gorest-apigolang-whatsapp-apigolang-whatsapp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
473 B
16 lines
473 B
package send
|
|
|
|
import "mime/multipart"
|
|
|
|
type VideoRequest struct {
|
|
Phone string `json:"phone" form:"phone"`
|
|
Caption string `json:"caption" form:"caption"`
|
|
Video *multipart.FileHeader `json:"video" form:"video"`
|
|
ViewOnce bool `json:"view_once" form:"view_once"`
|
|
Compress bool `json:"compress"`
|
|
}
|
|
|
|
type VideoResponse struct {
|
|
MessageID string `json:"message_id"`
|
|
Status string `json:"status"`
|
|
}
|