📑 Send media-document message

This method is responsible for sending documents for chats. The requirements for sending all media types are identical

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Message document

Media file to send. You can use preuploaded file or upload file on the fly.
Use preupload files if you want to send same file to multiple chats and
so as not to disturb the order of messages.

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

string

Message ID of the message to be edited

required

File to upload

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

string

Optional. File name

Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

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