v1

latestOpenAPI 3.0.02026-07-14181255304.7 KB
Messages

๐Ÿ“น Send media-short video message (PTV)

This method is responsible for sending a short video in the circle for chats. The requirements for sending all media types are identical

post/messages/short

Request body

tostring required

Use the phone number or Chat ID of the contact/group/channel to which you want to send the message. Use Get groups to get the group ID.

quotedstring

Message ID of the message to be quoted

editstring

Message ID of the message to be edited

mime_typestring

Mime type of media

no_encodeboolean

Do not use our encoding

no_cacheboolean

Do not use the cache in a request

captionstring

Optional. Text caption under the media.

previewstring

Optional. Base64 encoded preview of the media. In JPEG format.

widthinteger

Width of the media in pixels

heightinteger

Height of the media in pixels

mentionsstring[]

The numbers of the mentioned users

view_onceboolean

Is view once

Example request

{
  "to": "1234567891@s.whatsapp.net"
}

Response

Created

sentboolean required

Message sent