API Reference

🎬 Send media-gif message

Method responsible for sending GIFs to your chats through the API (The file to be sent must be an MP4)

Log in to see full request history
Body Params

Message gif

string
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.

string

Message ID of the message to be quoted

integer
1 to 604800

Time in seconds for the message to be deleted. The Disappearing messages setting should be enabled in the chat where you are sending this message.

string

Message ID of the message to be edited

required
string

Mime type of media

boolean

Do not use our encoding

boolean

Do not use the cache in a request

string

Optional. Text caption under the media.

string

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

int32

Width of the media in pixels

int32

Height of the media in pixels

boolean

Optional. This field indicates whether the GIF should be played automatically when the message is received.

boolean

Is view once

Responses

Language
Credentials
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json