post https://waapi.app/api/v1/instances//client/action/send-media
Send a media message (image, video, audio, document) to a chat. The chatId format varies depending on the chat type:
- Individual chat: {phone_number}@c.us (e.g. [email protected])
- Group chat: {group_id}@g.us (e.g. [email protected])
- Channel/Newsletter: {channel_id}@newsletter (e.g. 123456789@newsletter)
Supported media types:
- Images: jpg, jpeg, png, gif
- Videos: mp4, 3gp, mov
- Audio: mp3, wav, ogg, m4a
- Documents: pdf, doc, docx, txt, xlsx, etc